[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Maven2 integration test and aspectjweaver

To use LTW with maven2 you will need to use eighter MAVEN_OPTS or
setting it on the argLine option in the surefire plugin..

example (linux/bash)
export MAVEN_OPTS=-javaagent:/fully/qualified/path/to/aspectjweaver-1.5a.jar
mvn test

or (in the pom.xml)

(may bee spelling errors :))

On 02/09/06, Dennis Cieplik <dcieplik@xxxxxxx> wrote:

I've got problems to run maven integration test with aspectjweaver. I supplied -javaagent:aspectjweaver-1.5a.jar via cmd line, but without any success. Load time weaving works under eclipse, but fails from command line. I also tried to adjust pom.xml, googled ...

Maven 2.0.4
AspectJ 1.5a (libraries from spring)

Perhaps somebody ran into similiar problems and could privide some hints?



Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ aspectj-users mailing list aspectj-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/aspectj-users