org.codehaus.mojo.aspectj
Class AjcTestCompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.aspectj.AbstractAjcMojo
org.codehaus.mojo.aspectj.AbstractAjcCompiler
org.codehaus.mojo.aspectj.AjcTestCompileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class AjcTestCompileMojo
- extends AbstractAjcCompiler
Weaves all test classes.
- Author:
- Kaare Nilsen
Field Summary |
protected boolean |
weaveMainSourceFolder
Flag to indicate if the main source dirs
should be a part of the compile process. |
protected boolean |
weaveWithAspectsInMainSourceFolder
Flag to indicate if aspects in the the main source dirs
should be a part of the compile process |
Fields inherited from class org.codehaus.mojo.aspectj.AbstractAjcCompiler |
ajcOptions, ajdtBuildDefFile, argumentFileName, aspectDirectory, aspectLibraries, bootclasspath, complianceLevel, deprecation, emacssym, encoding, excludes, includes, noImportError, outxml, outxmlfile, preserveAllLocals, proceedOnError, referenceInfo, repeat, resolvedIncludes, showWeaveInfo, source, target, testAspectDirectory, verbose, warn, weaveDependencies, XaddSerialVersionUID, Xlint, XnoInline, Xreweavable, XserializableAspects |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected String |
getAdditionalAspectPaths()
Abstract method used by cild classes to specify aditional aspect paths. |
protected List |
getOutputDirectories()
Abstract method used by child classes to spesify the correct output
directory for compiled classes. |
protected List |
getSourceDirectories()
Abstract method used by child classes to spesify the correct source directory for classes. |
Methods inherited from class org.codehaus.mojo.aspectj.AbstractAjcCompiler |
assembleArguments, execute, isBuildNeeded, setArgumentFileName, setBootClassPath, setComplianceLevel, setDeprecation, setEmacssym, setEncoding, setNoImportError, setOutxml, setOutxmlfile, setPreserveAllLocals, setProceedOnError, setReferenceInfo, setRepeat, setShowWeaveInfo, setSource, setTarget, setVerbose, setWarn, setXaddSerialVersionUID, setXlint, setXnoInline, setXreweavable, setXserializableAspects |
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 |
weaveMainSourceFolder
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
appare in the test output dir also,
potentially overwriting test resources.
weaveWithAspectsInMainSourceFolder
protected boolean weaveWithAspectsInMainSourceFolder
- Flag to indicate if aspects in the the main source dirs
should be a part of the compile process
AjcTestCompileMojo
public AjcTestCompileMojo()
getOutputDirectories
protected List getOutputDirectories()
- Description copied from class:
AbstractAjcCompiler
- Abstract method used by child classes to spesify the correct output
directory for compiled classes.
- Specified by:
getOutputDirectories
in class AbstractAjcCompiler
- Returns:
- where compiled classes should be put.
getSourceDirectories
protected List getSourceDirectories()
- Description copied from class:
AbstractAjcCompiler
- Abstract method used by child classes to spesify the correct source directory for classes.
- Specified by:
getSourceDirectories
in class AbstractAjcCompiler
- Returns:
- where sources may be found.
getAdditionalAspectPaths
protected String getAdditionalAspectPaths()
- Description copied from class:
AbstractAjcCompiler
- Abstract method used by cild classes to specify aditional aspect paths.
- Specified by:
getAdditionalAspectPaths
in class AbstractAjcCompiler
- Returns:
Copyright © 2005-2011 Codehaus. All Rights Reserved.