|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
public abstract class AbstractJRubyMojo
Base for all JRuby mojos.
| Field Summary | |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
artifact factory for internal use. |
protected java.util.Set<org.apache.maven.artifact.Artifact> |
artifacts
The project's artifacts. |
protected org.apache.maven.project.MavenProjectBuilder |
builder
|
protected boolean |
fork
fork the JRuby execution. |
protected java.io.File |
gemHome
directory of gem home to use when forking JRuby. |
protected java.io.File |
gemPath
directory of JRuby path to use when forking JRuby. |
protected java.io.File |
home
directory of JRuby home to use when forking JRuby. |
protected java.io.File |
launchDirectory
the launch directory for the JRuby execution. |
protected java.lang.String |
launchMemory
The amount of memory to use when forking JRuby. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
local repository for internal use. |
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource |
metadata
|
protected java.io.File |
outputDirectory
output directory for internal use. |
protected java.io.File |
outputFile
output file where the stdout will be redirected to |
protected org.apache.maven.project.MavenProject |
project
reference to maven project for internal use. |
protected java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> |
remoteRepositories
list of remote repositories for internal use. |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
resolver
artifact resolver for internal use. |
protected boolean |
verbose
verbose jruby related output |
protected java.lang.String |
version
if the pom.xml has no runtime dependency to a jruby-complete.jar then this version is used to resolve the jruby-complete dependency from the local/remote maven repository. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractJRubyMojo()
|
|
| Method Summary | |
|---|---|
protected void |
ensureGem(java.lang.String gemName)
Deprecated. |
protected void |
ensureGems(java.lang.String[] gemNames)
Deprecated. |
protected void |
execute(java.lang.String args)
|
protected void |
execute(java.lang.String[] args)
|
protected void |
execute(java.lang.String[] args,
java.io.File outputFile)
|
protected void |
execute(java.lang.String[] args,
java.io.File outputFile,
boolean resolveArtifacts)
|
protected void |
execute(java.lang.String args,
boolean resolveArtifacts)
|
protected java.lang.String |
fileFromClassloader(java.lang.String file)
|
protected java.io.File |
launchDirectory()
|
protected void |
resolveTransitively(java.util.Collection<org.apache.maven.artifact.Artifact> artifacts,
org.apache.maven.artifact.Artifact artifact)
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Field Detail |
|---|
protected boolean fork
protected boolean verbose
protected java.io.File launchDirectory
protected java.io.File home
protected java.io.File gemHome
protected java.io.File gemPath
protected java.lang.String launchMemory
protected org.apache.maven.project.MavenProject project
protected java.util.Set<org.apache.maven.artifact.Artifact> artifacts
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories
protected java.lang.String version
protected java.io.File outputFile
protected java.io.File outputDirectory
protected org.apache.maven.artifact.metadata.ArtifactMetadataSource metadata
protected org.apache.maven.project.MavenProjectBuilder builder
| Constructor Detail |
|---|
public AbstractJRubyMojo()
| Method Detail |
|---|
protected java.io.File launchDirectory()
@Deprecated
protected void ensureGems(java.lang.String[] gemNames)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
@Deprecated
protected void ensureGem(java.lang.String gemName)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void execute(java.lang.String args,
boolean resolveArtifacts)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void execute(java.lang.String args)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void execute(java.lang.String[] args)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void execute(java.lang.String[] args,
java.io.File outputFile)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void execute(java.lang.String[] args,
java.io.File outputFile,
boolean resolveArtifacts)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void resolveTransitively(java.util.Collection<org.apache.maven.artifact.Artifact> artifacts,
org.apache.maven.artifact.Artifact artifact)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected java.lang.String fileFromClassloader(java.lang.String file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||