|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
public abstract class AbstractGemMojo
| Field Summary | |
|---|---|
protected java.io.File |
binDirectory
directory of JRuby bin path to use when forking JRuby. |
protected java.io.File |
gemHome
directory of gem home to use when forking JRuby. |
protected java.io.File |
gemPath
directory of JRuby path to use when forking JRuby. |
protected de.saumya.mojo.ruby.gems.GemsConfig |
gemsConfig
|
protected de.saumya.mojo.ruby.gems.GemsInstaller |
gemsInstaller
|
protected boolean |
includeOpenSSL
flag whether to include open-ssl gem or not Command line -Dgem.includeOpenSSL=... |
protected boolean |
includeRubygemsInTestResources
flag whether to include all gems to test-resources, i.e. |
protected boolean |
installRDoc
flag whether to install rdocs of the used gems or not Command line -Dgem.installRDoc=... |
protected boolean |
installRI
flag whether to install ri of the used gems or not Command line -Dgem.installRDoc=... |
protected de.saumya.mojo.ruby.gems.GemManager |
manager
|
protected org.apache.maven.plugin.descriptor.PluginDescriptor |
plugin
|
protected boolean |
supportNative
flag to indicate to setup jruby's native support for C-extensions Command line -Dgem.supportNative=... |
protected org.codehaus.plexus.archiver.UnArchiver |
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 |
| Constructor Summary | |
|---|---|
AbstractGemMojo()
|
|
| Method Summary | |
|---|---|
protected void |
executeJRuby()
|
protected abstract void |
executeWithGems()
|
protected de.saumya.mojo.ruby.script.ScriptFactory |
newScriptFactory(org.apache.maven.artifact.Artifact artifact)
|
| Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
|---|
execute, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, retrieveStdlibArtifact |
| 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 |
| Field Detail |
|---|
protected org.codehaus.plexus.archiver.UnArchiver unzip
protected org.apache.maven.plugin.descriptor.PluginDescriptor plugin
protected boolean includeOpenSSL
protected boolean includeRubygemsInTestResources
protected boolean installRDoc
protected boolean installRI
protected java.io.File gemHome
protected java.io.File gemPath
protected java.io.File binDirectory
protected boolean supportNative
protected de.saumya.mojo.ruby.gems.GemManager manager
protected de.saumya.mojo.ruby.gems.GemsConfig gemsConfig
protected de.saumya.mojo.ruby.gems.GemsInstaller gemsInstaller
| Constructor Detail |
|---|
public AbstractGemMojo()
| Method Detail |
|---|
protected de.saumya.mojo.ruby.script.ScriptFactory newScriptFactory(org.apache.maven.artifact.Artifact artifact)
throws org.apache.maven.plugin.MojoExecutionException
newScriptFactory in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionException
protected void executeJRuby()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException,
java.io.IOException,
de.saumya.mojo.ruby.script.ScriptException
executeJRuby in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
java.io.IOException
de.saumya.mojo.ruby.script.ScriptException
protected abstract void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
de.saumya.mojo.ruby.script.ScriptException,
de.saumya.mojo.ruby.gems.GemException,
java.io.IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
de.saumya.mojo.ruby.script.ScriptException
de.saumya.mojo.ruby.gems.GemException
java.io.IOException
org.apache.maven.plugin.MojoFailureException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||