Package de.saumya.mojo.jruby
Class JRubyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.jruby.JRubyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="jruby",
requiresDependencyResolution=TEST)
@Deprecated
public class JRubyMojo
extends AbstractJRubyMojo
Deprecated.
executes the jruby command.
Deprecated: use the exec goal from gem-maven-plugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileDeprecated.ruby file which gets executed.protected StringDeprecated.ruby file found on search path which gets executed.protected FileDeprecated.directory of gem home to use when forking JRuby.protected FileDeprecated.directory of JRuby path to use when forking JRuby.protected booleanDeprecated.use system gems instead of setting up GemPath/GemHome inside the build directory and ignores any set gemHome and gemPath.protected StringDeprecated.arguments for the jruby command.protected FileDeprecated.output file where the standard out will be writtenprotected StringDeprecated.ruby code which gets executed.Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
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, rubySourceDirectoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
execute, getDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifactMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
jrubyArgs
Deprecated.arguments for the jruby command. -
script
Deprecated.ruby code which gets executed. -
file
Deprecated.ruby file which gets executed. -
filename
Deprecated.ruby file found on search path which gets executed. -
outputFile
Deprecated.output file where the standard out will be written -
gemHome
@Parameter(property="gem.home", defaultValue="${project.build.directory}/rubygems") protected File gemHomeDeprecated.directory of gem home to use when forking JRuby. -
gemPath
@Parameter(property="gem.path", defaultValue="${project.build.directory}/rubygems") protected File gemPathDeprecated.directory of JRuby path to use when forking JRuby. -
gemUseSystem
@Parameter(property="gem.useSystem", defaultValue="false") protected boolean gemUseSystemDeprecated.use system gems instead of setting up GemPath/GemHome inside the build directory and ignores any set gemHome and gemPath. you need to have both GEM_HOME and GEM_PATH environment variable set to make it work.
-
-
Constructor Details
-
JRubyMojo
public JRubyMojo()Deprecated.
-
-
Method Details
-
executeJRuby
public void executeJRuby() throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptExceptionDeprecated.- Specified by:
executeJRubyin classAbstractJRubyMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptException
-