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

Difference between revisions of "AspectJMaven"

m
m
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
* Using the [[AspectJMaven/plugin|aspectj-maven-plugin]]
 
* Using the [[AspectJMaven/plugin|aspectj-maven-plugin]]
 
* Using the AspectJ compiler in the [[AspectJMaven/compiler|maven-compiler-plugin]]
 
* Using the AspectJ compiler in the [[AspectJMaven/compiler|maven-compiler-plugin]]
 +
  
 
Currently no AspectJ developer is working on Maven support, which is instead developed in Apache Maven project and in Codehaus Mojo project. This unfortunately mean that Maven support is not always updated with new versions of AspectJ.
 
Currently no AspectJ developer is working on Maven support, which is instead developed in Apache Maven project and in Codehaus Mojo project. This unfortunately mean that Maven support is not always updated with new versions of AspectJ.
  
 
If you need features which are not yet available in Maven, there are a few workarounds :
 
If you need features which are not yet available in Maven, there are a few workarounds :
* [[AspectJMaven/forceVersion!Force the aspectj-maven-plugin]] to use a different version of AspectJ
+
* [[AspectJMaven/forceVersion|Force the aspectj-maven-plugin]] to use a different version of AspectJ
 
* [[AspectJMaven/ant|Call AspectJ via ant tasks from inside maven build]] (since ant tasks are developed by AspectJ developers, they are usually updated)
 
* [[AspectJMaven/ant|Call AspectJ via ant tasks from inside maven build]] (since ant tasks are developed by AspectJ developers, they are usually updated)
 +
  
 
Also, when using Maven, you'll probably want to integrate other technologies :
 
Also, when using Maven, you'll probably want to integrate other technologies :
* Using Cobertura with AspectJ inside Maven
+
* Using [[AspectJMaven/cobertura|Cobertura with AspectJ]] inside Maven
* Using AJDoc inside Maven
+
* Using [[AspectJMaven/ajdoc|AJDoc inside Maven]]

Latest revision as of 11:15, 29 December 2009

You can use Maven [1] to build projects using AspectJ.

AspectJ support is available since Maven 1, but we will focus on Maven 2 since it is the cyrrently stable version.

There are two ways to compile your AspectJ project using Maven :


Currently no AspectJ developer is working on Maven support, which is instead developed in Apache Maven project and in Codehaus Mojo project. This unfortunately mean that Maven support is not always updated with new versions of AspectJ.

If you need features which are not yet available in Maven, there are a few workarounds :


Also, when using Maven, you'll probably want to integrate other technologies :

Back to the top