Package kilim.plugins
Class KilimMavenPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
kilim.plugins.KilimMavenPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="weave",
defaultPhase=PROCESS_TEST_CLASSES,
requiresDependencyResolution=RUNTIME)
public class KilimMavenPlugin
extends org.apache.maven.plugin.AbstractMojo
maven plugin for ahead-of-time weaving of class files
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringadditional arguments to pass to the weaverprivate Filelocation of the class filesprivate Filedestination for the woven class filesprivate org.apache.maven.project.MavenProjectprivate Filelocation of the test class filesprivate Filedestination for the woven test class filesFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
args
additional arguments to pass to the weaver -
in
@Parameter(defaultValue="${project.build.outputDirectory}", property="kilim.in", required=true) private File inlocation of the class files -
tin
@Parameter(defaultValue="${project.build.testOutputDirectory}", property="kilim.tin", required=true) private File tinlocation of the test class files -
out
@Parameter(defaultValue="${project.build.outputDirectory}", property="kilim.out", required=true) private File outdestination for the woven class files -
tout
@Parameter(defaultValue="${project.build.testOutputDirectory}", property="kilim.tout", required=true) private File toutdestination for the woven test class files -
project
@Parameter(defaultValue="${project}", readonly=true, required=true) private org.apache.maven.project.MavenProject project
-
-
Constructor Details
-
KilimMavenPlugin
public KilimMavenPlugin()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-