de.saumya.mojo.gem
Class AbstractGemMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractRailsMojo
public abstract class AbstractGemMojo
- extends AbstractJRubyMojo
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
args, classRealm, factory, GEM_RUBY_COMMAND, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, jrubyVersion, localRepository, logger, project, RAKE_RUBY_COMMAND, 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 |
plugin
protected org.apache.maven.plugin.descriptor.PluginDescriptor plugin
includeOpenSSL
protected boolean includeOpenSSL
installRDoc
protected boolean installRDoc
installRI
protected boolean installRI
gemHome
protected File gemHome
- directory of gem home to use when forking JRuby.
gemPath
protected File gemPath
- directory of JRuby path to use when forking JRuby.
gemArgs
protected String gemArgs
- arguments for the gem command.
binDirectory
protected File binDirectory
- directory of JRuby bin path to use when forking JRuby.
manager
protected GemManager manager
gemsConfig
protected GemsConfig gemsConfig
gemsInstaller
protected GemsInstaller gemsInstaller
AbstractGemMojo
public AbstractGemMojo()
newScriptFactory
protected ScriptFactory newScriptFactory(org.apache.maven.artifact.Artifact artifact)
throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
newScriptFactory in class AbstractJRubyMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
executeJRuby
protected void executeJRuby()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
IOException,
ScriptException
- Specified by:
executeJRuby in class AbstractJRubyMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
IOException
ScriptException
executeWithGems
protected abstract void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
ScriptException,
GemException,
IOException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
ScriptException
GemException
IOException
org.apache.maven.plugin.MojoFailureException
Copyright © 2011. All Rights Reserved.