Maven : Using AspectJ with Maven

This page last changed on Mar 13, 2006 by Kees de Kooter

There is a plugin in beta for AspectJ http://mojo.codehaus.org/aspectj-maven-plugin/.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<executions>
  <execution>
    <configuration>
        <source>1.5</source>
        <target>1.5</target>
    </configuration>
    <goals>
      <goal>compile</goal>
    </goals>
  </execution>
</executions>
</plugin>

mvn package builds my project with the same "before advice" warning. But again despite the warning the exceptions are handled!!