Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
AspectJMaven/plugin
The Mojo project (the project that realize plugins for Maven 2) develops a plugin for AspectJ [1].
This plugin offers a way to invoke the AspectJ compiler from Maven, integrating it perfectly with the Maven build system.
It supports :
- configuring Maven dependencies on the in-path and aspect-path to support aspect libraries.
- different configuration for testing
- declaring includes/excludes
- using AJDoc as a report plugin
Unfortunately, this plugin is not being developed by AspectJ developers, so often the last version of this plugin is not updated with latest AspectJ version; however there is a way to force the plugin to use a different version of AspectJ.