Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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.

Back to the top