My aspect works fine with Eclipse with the AspectJ plugin, however, if I try to use it with Maven, I get ... nothing.
I tried this http://mojo.codehaus.org/aspectj-maven-plugin/includeExclude.html
I add loggin to my aspect and I try to test it with the junit test, but when I run
mvn clean mvn test
I get...
[INFO] [aspectj:compile {execution: default}]
But I do not see the entrance to the test
If I compile in Eclipse it works find, but Id as if it is an Independent IDE (so I could use it with Hudson)
PS I am using the .aj file for Aspect
I tried Google, but I can not find any working example.
java eclipse maven-2 aop aspectj
martin
source share