de.saumya.mojo.gem
Class PushMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
de.saumya.mojo.gem.PushMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class PushMojo
- extends AbstractGemMojo
goal to push a given gem or a gem artifact to rubygems.org via the
command "gem push {gemfile}"
|
Field Summary |
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 org.sonatype.aether.RepositorySystemSession |
repoSession
|
| Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo |
binDirectory, gemHome, gemPath, gemsConfig, gemsInstaller, includeOpenSSL, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzip |
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
args, classRealm, DEFAULT_JRUBY_VERSION, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, jrubyVersion, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pushArgs
protected String pushArgs
- arguments for the ruby script given through file parameter.
Command line -Dpush.args=...
gem
protected File gem
- arguments for the ruby script given through file parameter.
Command line -Dgem=...
repoSession
protected org.sonatype.aether.RepositorySystemSession repoSession
PushMojo
public PushMojo()
executeWithGems
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
IOException,
org.apache.maven.plugin.MojoFailureException,
GemException
- Specified by:
executeWithGems in class AbstractGemMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException
org.apache.maven.plugin.MojoFailureException
GemException
Copyright © 2011. All Rights Reserved.