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

    Fields
    Modifier and Type
    Field
    Description
    private String
    additional arguments to pass to the weaver
    private File
    location of the class files
    private File
    destination for the woven class files
    private org.apache.maven.project.MavenProject
     
    private File
    location of the test class files
    private File
    destination for the woven test class files

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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
  • Field Details

    • args

      @Parameter(defaultValue="-q", property="kilim.args", required=false) private String args
      additional arguments to pass to the weaver
    • in

      @Parameter(defaultValue="${project.build.outputDirectory}", property="kilim.in", required=true) private File in
      location of the class files
    • tin

      @Parameter(defaultValue="${project.build.testOutputDirectory}", property="kilim.tin", required=true) private File tin
      location of the test class files
    • out

      @Parameter(defaultValue="${project.build.outputDirectory}", property="kilim.out", required=true) private File out
      destination for the woven class files
    • tout

      @Parameter(defaultValue="${project.build.testOutputDirectory}", property="kilim.tout", required=true) private File tout
      destination 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