public class CompileMojo extends AbstractJRubyMojo
Modifier and Type | Field and Description |
---|---|
protected File |
generatedJavaDirectory
where the java files (needs >=jruby-1.5).
|
protected boolean |
generateJava
just generate java classes and add them to the maven source path
Command line -Djrubyc.generateJava=... |
protected boolean |
ignoreFailures
do not fail the goal
Command line -Djrubyc.ignoreFailure=... |
protected File |
outputDirectory
where the compiled class files are written unless you choose to generate
java classes (needs >=jruby-1.5).
|
protected File |
rubyDirectory
Deprecated.
|
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 |
---|
CompileMojo() |
Modifier and Type | Method and Description |
---|---|
void |
executeJRuby() |
execute, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
@Deprecated protected File rubyDirectory
protected File outputDirectory
protected boolean ignoreFailures
protected boolean generateJava
protected File generatedJavaDirectory
public void executeJRuby() throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptException
executeJRuby
in class AbstractJRubyMojo
org.apache.maven.plugin.MojoExecutionException
IOException
ScriptException
Copyright © 2015. All rights reserved.