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
Command line -Dpush.skip=... |
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, newScriptFactorygetJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifactprotected boolean skip
protected String pushArgs
protected File gem
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.