I am quite busy and could only take a quick peek from my iPad without access to an IDE, but as far as I can tell, aspect4log 1.0.6 is built with AspectJ 1.8.3 while your build uses 1.8.2 which is contained in AspectJ Maven Plugin 1.7. Maybe that leads to the problem you see. You can try to override the plugin dependency to aspectjtools with version 1.8.3 and see if solves the problem.
An example for overriding the plugin dependency can be found here: Hello, I'm an author of aspect4log framework recently, several users reported that during the build they receive the following warning: [WARNING] bad version number found in /home/someuser/.m2-oss/repository/org/aspectj/aspectjrt/1.8.3/aspectjrt-1.8.3.jar expected 1.8.2 found 1.8.3 <unknown source file>:<no line information> a sample demonstrating this warning during maven build can be found here https://github.com/yilativs/aspect4log-aspectj-compiletime-sampleCan someone please explain, what does this warning mean and how to fix it? (Despite the warning everything works perfect).
|