net.sf.jour.maven
Class InstrumentationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.sf.jour.maven.InstrumentationMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class InstrumentationMojo
- extends org.apache.maven.plugin.AbstractMojo
The jour:instrument will apply instrumentation during build.
- Author:
- vlads
Field Summary |
protected org.apache.maven.project.MavenProject |
mavenProject
The Maven project reference where the plugin is currently being executed. |
protected java.lang.String |
output
Output directory name relative to outputDirectory parameter. |
protected java.io.File |
outputDirectory
Directory containing the generated JAR. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
static java.io.File |
getClasspathElement(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.project.MavenProject mavenProject)
|
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 |
outputDirectory
protected java.io.File outputDirectory
- Directory containing the generated JAR.
output
protected java.lang.String output
- Output directory name relative to outputDirectory parameter.
mavenProject
protected org.apache.maven.project.MavenProject mavenProject
- The Maven project reference where the plugin is currently being executed.
Used for dependency resolution during compilation. The default value is
populated from maven.
InstrumentationMojo
public InstrumentationMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getClasspathElement
public static java.io.File getClasspathElement(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.project.MavenProject mavenProject)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2004-2008 pyx4j.com. All Rights Reserved.