org.codehaus.mojo.aspectj
Class AjcCompileMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.aspectj.AbstractAjcMojo
          extended by org.codehaus.mojo.aspectj.AbstractAjcCompiler
              extended by org.codehaus.mojo.aspectj.AjcCompileMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AjcCompileMojo
extends AbstractAjcCompiler

Weaves all main classes.

Author:
Kaare Nilsen
Is bound to the specified phase of the standard build lifecycle:
compile
Requires the dependencies in this specified scope:
compile
Is defined by the goal name:
compile

Field Summary
 
Fields inherited from class org.codehaus.mojo.aspectj.AbstractAjcCompiler
ajcOptions, ajdtBuildDefFile, argumentFileName, aspectDirectory, bootclasspath, complianceLevel, deprecation, emacssym, encoding, excludes, forceAjcCompile, includes, noImportError, outxml, outxmlfile, preserveAllLocals, proceedOnError, referenceInfo, repeat, resolvedIncludes, showWeaveInfo, source, target, testAspectDirectory, verbose, warn, XaddSerialVersionUID, XhasMember, Xlint, XnoInline, Xreweavable, XserializableAspects, XterminateAfterCompilation
 
Fields inherited from class org.codehaus.mojo.aspectj.AbstractAjcMojo
aspectLibraries, basedir, project, weaveDependencies, weaveDirectories
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AjcCompileMojo()
           
 
Method Summary
protected  String getAdditionalAspectPaths()
          Abstract method used by child classes to specify additional aspect paths.
protected  List getClasspathDirectories()
          Abstract method used by child classes to specify the correct output directory for compiled classes.
protected  org.codehaus.plexus.util.Scanner[] getJavaSources()
           
protected  File getOutputDirectory()
          The directory where compiled classes go.
protected  List getSourceDirectories()
          Abstract method used by child classes to specify the correct source directory for classes.
 
Methods inherited from class org.codehaus.mojo.aspectj.AbstractAjcCompiler
assembleArguments, execute, getIncludedSources, isBuildNeeded, setArgumentFileName, setBootClassPath, setComplianceLevel, setDeprecation, setEmacssym, setEncoding, setNoImportError, setOutxml, setOutxmlfile, setPreserveAllLocals, setProceedOnError, setReferenceInfo, setRepeat, setShowWeaveInfo, setSource, setTarget, setVerbose, setWarn, setXaddSerialVersionUID, setXhasMember, setXlint, setXnoInline, setXreweavable, setXserializableAspects, setXterminateAfterCompilation
 
Methods inherited from class org.codehaus.mojo.aspectj.AbstractAjcMojo
isSkip
 
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
 

Constructor Detail

AjcCompileMojo

public AjcCompileMojo()
Method Detail

getOutputDirectory

protected File getOutputDirectory()
Description copied from class: AbstractAjcCompiler
The directory where compiled classes go.

Specified by:
getOutputDirectory in class AbstractAjcCompiler
Returns:
the outputDirectory

getClasspathDirectories

protected List getClasspathDirectories()
Description copied from class: AbstractAjcCompiler
Abstract method used by child classes to specify the correct output directory for compiled classes.

Specified by:
getClasspathDirectories in class AbstractAjcCompiler
Returns:
the directories containing compiled classes.

getSourceDirectories

protected List getSourceDirectories()
Description copied from class: AbstractAjcCompiler
Abstract method used by child classes to specify the correct source directory for classes.

Specified by:
getSourceDirectories in class AbstractAjcCompiler
Returns:
where sources may be found.

getJavaSources

protected org.codehaus.plexus.util.Scanner[] getJavaSources()
Specified by:
getJavaSources in class AbstractAjcCompiler

getAdditionalAspectPaths

protected String getAdditionalAspectPaths()
Description copied from class: AbstractAjcCompiler
Abstract method used by child classes to specify additional aspect paths.

Specified by:
getAdditionalAspectPaths in class AbstractAjcCompiler
Returns:
the additional aspect paths


Copyright © 2005-2014 Codehaus. All Rights Reserved.