I faced a problem using using AspectJ compiler Maven Plugin.  After hours of googling I didn't manage to make it work for my aspects, however my AJDT eclipse pluging compiles and works with aspects perfectly.


While running maven i get such warning:

[WARNING] advice defined in test.package.MyTest$TestAspects has not been applied [Xlint:adviceDidNotMatch]







    static class TestAspects{

        @Pointcut("call(String some.package.PropertyProvider.getStringProperty())")
        public void interceptStringProperty(){}
        public String interceptConstructorForStringProperty()
           return "Intercepted String Property";


Can anybody help me?



Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at