Hi, I'm trying to get maven to work with aspectj. The aspectj-plugin-maven is working fine (classes are being woven correctly). But when surefire:test runs, the aspects codes are not being ran. Here's my current setup:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<source>1.5</source>
<aspectLibraries>
<aspectLibrary>
<groupId>cortex</groupId>
<artifactId>
cortex-retriever-ops-base
</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
</execution>
</executions>
</plugin>
Aspects are in this cortex-retriever-ops-base library. Any clue anyone?
Kind Regards,
Thiago Souza
--
View this message in context:
http://www.nabble.com/M2-and-AspectJ-issue-tf2110863.html#a5819954
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
