org.codehaus.mojo.aspectj
Class AbstractAjcMojo

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

public abstract class AbstractAjcMojo
extends org.apache.maven.plugin.AbstractMojo

The base class.

Version:
$Revision: 14246 $ by $Author: rfscholte $
Author:
Juraj Burian

Field Summary
protected  Module[] aspectLibraries
          Weave binary aspects from the jars.
protected  File basedir
          The basedir of the project.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  Module[] weaveDependencies
          List of of modules to weave (into target directory).
protected  String[] weaveDirectories
          List of of directories with .class files to weave (into target directory).
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAjcMojo()
           
 
Method Summary
protected  boolean 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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The maven project.

Is defined by:
default-value:
${project}
Is required.
Is readonly.

basedir

protected File basedir
The basedir of the project.

Is defined by:
default-value:
${basedir}
Is required.
Is readonly.

weaveDependencies

protected Module[] weaveDependencies
List of of modules to weave (into target directory). Corresponds to ajc -inpath option (or -injars for pre-1.2 (which is not supported)).

Is defined by:

weaveDirectories

protected String[] weaveDirectories
List of of directories with .class files to weave (into target directory). Corresponds to ajc -inpath option .

Since:
1.4
Is defined by:

aspectLibraries

protected Module[] aspectLibraries
Weave binary aspects from the jars. The aspects should have been output by the same version of the compiler. The modules must also be dependencies of the project. Corresponds to ajc -aspectpath option

Is defined by:
Constructor Detail

AbstractAjcMojo

public AbstractAjcMojo()
Method Detail

isSkip

protected final boolean isSkip()
Returns:
true if execution should be skipped, otherwise false


Copyright © 2005-2014 Codehaus. All Rights Reserved.