Fork me on GitHub

aspectj:EclipseAjcMojo

Full name:

dev.aspectj:aspectj-maven-plugin:1.14:EclipseAjcMojo

Description:

Create eclipse configuration of aspectJ

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is not marked as thread-safe and thus does not support parallel builds.

Optional Parameters

Name Type Since Description
<aspectLibraries> Module[] - 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
<javaModules> Module[] 1.13 Java 9+ modules to build the module path from. Corresponds to ajc --module-path option.
<skip> boolean - Skip plugin execution.
Default value is: false.
User property is: aspectj.skip.
<weaveDependencies> Module[] - List of of modules to weave (into target directory). Corresponds to ajc -inpath option (or -injars for pre-1.2 (which is not supported)).
<weaveDirectories> String[] 1.4 List of of directories with .class files to weave (into target directory). Corresponds to ajc -inpath option.
<xmlConfigured> File - Parameter which indicates an XML file containing AspectJ weaving instructions. Assigning this plugin parameter adds the -xmlConfigured option to ajc.
See also: ajc reference

Parameter Details

<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
  • Type: org.codehaus.mojo.aspectj.Module[]
  • Required: No

<javaModules>

Java 9+ modules to build the module path from. Corresponds to ajc --module-path option.
  • Type: org.codehaus.mojo.aspectj.Module[]
  • Since: 1.13
  • Required: No

<skip>

Skip plugin execution.
  • Type: boolean
  • Required: No
  • User Property: aspectj.skip
  • Default: false

<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)).
  • Type: org.codehaus.mojo.aspectj.Module[]
  • Required: No

<weaveDirectories>

List of of directories with .class files to weave (into target directory). Corresponds to ajc -inpath option.
  • Type: java.lang.String[]
  • Since: 1.4
  • Required: No

<xmlConfigured>

Parameter which indicates an XML file containing AspectJ weaving instructions. Assigning this plugin parameter adds the -xmlConfigured option to ajc.
See also: ajc reference
  • Type: java.io.File
  • Required: No