Class AjcTestCompileMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="test-compile", threadSafe=true, defaultPhase=TEST_COMPILE, requiresDependencyResolution=TEST) public class AjcTestCompileMojo extends AbstractAjcCompiler
Weaves all test classes. AspectJ Compiler Plugin.
Author:
Kaare Nilsen
  • Field Details

    • MAVEN_TEST_SKIP

      protected static final String MAVEN_TEST_SKIP
      See Also:
    • weaveMainSourceFolder

      @Parameter(defaultValue="false") protected boolean weaveMainSourceFolder
      Flag to indicate if the main source dirs should be a part of the compile process. Note! This will make all classes in main source dir appear in the test output dir also, potentially overwriting test resources.
    • weaveWithAspectsInMainSourceFolder

      @Parameter(defaultValue="true") protected boolean weaveWithAspectsInMainSourceFolder
      Flag to indicate if aspects in the the main source dirs should be a part of the compile process
  • Constructor Details

    • AjcTestCompileMojo

      public AjcTestCompileMojo()
  • Method Details