@Mojo(name="jruby", requiresDependencyResolution=TEST) @Deprecated public class JRubyMojo extends AbstractJRubyMojo
Modifier and Type | Field and Description |
---|---|
protected File |
file
Deprecated.
ruby file which gets executed.
|
protected String |
filename
Deprecated.
ruby file found on search path which gets executed.
|
protected File |
gemHome
Deprecated.
directory of gem home to use when forking JRuby.
|
protected File |
gemPath
Deprecated.
directory of JRuby path to use when forking JRuby.
|
protected boolean |
gemUseSystem
Deprecated.
use system gems instead of setting up GemPath/GemHome inside the build directory and ignores any set
gemHome and gemPath.
|
protected String |
jrubyArgs
Deprecated.
arguments for the jruby command.
|
protected File |
outputFile
Deprecated.
output file where the standard out will be written
|
protected String |
script
Deprecated.
ruby code which gets executed.
|
addProjectClasspath, 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 |
---|
JRubyMojo()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
executeJRuby()
Deprecated.
|
execute, getDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
@Parameter(property="jruby.args") protected String jrubyArgs
@Parameter(property="jruby.script") protected String script
@Parameter(property="jruby.file") protected File file
@Parameter(property="jruby.filename") protected String filename
@Parameter(property="jruby.outputFile") protected File outputFile
@Parameter(property="gem.home", defaultValue="${project.build.directory}/rubygems") protected File gemHome
@Parameter(property="gem.path", defaultValue="${project.build.directory}/rubygems") protected File gemPath
@Parameter(property="gem.useSystem", defaultValue="false") protected boolean gemUseSystem
public void executeJRuby() throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptException
executeJRuby
in class AbstractJRubyMojo
org.apache.maven.plugin.MojoExecutionException
IOException
ScriptException
Copyright © 2017. All rights reserved.