@Mojo(name="compile",
defaultPhase=COMPILE,
requiresDependencyResolution=COMPILE,
requiresProject=true)
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
|
protected boolean |
ignoreFailures
do not fail the goal
|
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, getDefaultJRubyVersion, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact@Deprecated @Parameter protected File rubyDirectory
@Parameter(property="project.build.outputDirectory",
defaultValue="${project.build.outputDirectory}")
protected File outputDirectory
@Parameter(property="jrubyc.ignoreFailue",
defaultValue="false")
protected boolean ignoreFailures
@Parameter(property="jrubyc.generateJava",
defaultValue="false")
protected boolean generateJava
@Parameter(defaultValue="${basedir}/target/jrubyc-generated-sources")
protected File generatedJavaDirectory
public void executeJRuby()
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
ScriptException
executeJRuby in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionExceptionIOExceptionScriptExceptionCopyright © 2016. All Rights Reserved.