@Mojo(name="generate",
defaultPhase=GENERATE_RESOURCES,
requiresProject=true,
threadSafe=true,
requiresDependencyResolution=RUNTIME)
public class GenerateMojo
extends AbstractGenerateMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
bootstrap
if set this file will be copied as 'jar-bootstrap.rb' to the resources.
|
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 |
|---|
GenerateMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeWithGems() |
createGemsResource, gemsBasePathgetDefaultJRubyVersionaddResource, execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Parameter(property="jar.bootstrap") protected File bootstrap
protected void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
de.saumya.mojo.ruby.script.ScriptException,
IOException
executeWithGems in class AbstractGenerateMojoorg.apache.maven.plugin.MojoExecutionExceptionde.saumya.mojo.ruby.script.ScriptExceptionIOExceptionCopyright © 2015. All Rights Reserved.