|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
- [mojo-dev] [jira] (MASPECTJ-126) Support new xlint com... Robert Platt (JIRA)
- [mojo-dev] [jira] (MASPECTJ-126) Support new xlin... JIRA
- [mojo-dev] [jira] (MASPECTJ-126) Support new xlin... JIRA
- [mojo-dev] [jira] (MASPECTJ-126) Support new xlin... JIRA

Actually, the 1.5 version should support all Xlint configuration right out of the box.
You do, however, need to change the underlying AspectJ library used by the
aspectj-maven-plugin.
Assuming you have defined the aspectj.runtime.version variable to be 1.7.4, you should
be able to use the newer Xlint options with a configuration along the following lines:
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <artifactId>1.5</artifactId> <configuration> <Xlint>adviceDidNotMatch=error,noGuardForLazyTjp=ignore</Xlint> </configuration> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj.runtime.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectj.runtime.version}</version> </dependency> </dependencies> </plugin>