@Mojo(name="push",
defaultPhase=DEPLOY)
public class PushMojo
extends AbstractGemMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
gem
arguments for the ruby script given through file parameter.
|
protected String |
pushArgs
arguments for the ruby script given through file parameter.
|
protected Object |
repoSession |
protected boolean |
skip
skip the pushng the gem
|
binDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeProvidedRubygemsInResources, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipaddProjectClasspath, args, classRealm, DEFAULT_JRUBY_VERSION, eclipseRefresh, eclipseWatches, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory| Constructor and Description |
|---|
PushMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
executeWithGems() |
addResource, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Parameter(property="push.skip",
defaultValue="false")
protected boolean skip
@Parameter(property="push.args") protected String pushArgs
@Parameter(property="gem") protected File gem
@Parameter(defaultValue="${repositorySystemSession}",
readonly=true)
protected Object repoSession
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException,
org.apache.maven.plugin.MojoFailureException,
GemException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionScriptExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionGemExceptionCopyright © 2015. All Rights Reserved.