Package kilim.plugins

Class 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 java.lang.String args
      additional arguments to pass to the weaver
      private java.io.File in
      location of the class files
      private java.io.File out
      destination for the woven class files
      private org.apache.maven.project.MavenProject project  
      private java.io.File tin
      location of the test class files
      private java.io.File tout
      destination for the woven test class files
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • 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 Detail

      • args

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

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

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

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

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

      • KilimMavenPlugin

        public KilimMavenPlugin()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException