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>
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
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to