@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, unzip
addProjectClasspath, 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, newScriptFactory
getDefaultJRubyVersion, 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.Mojo
execute
in class AbstractGemMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public void executeWithGems() throws org.apache.maven.plugin.MojoExecutionException, ScriptException, IOException, org.apache.maven.plugin.MojoFailureException, GemException
executeWithGems
in class AbstractGemMojo
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
org.apache.maven.plugin.MojoFailureException
GemException
Copyright © 2017. All rights reserved.