aspectj-maven-plugin not weaving if sourceDirectory is set?
问题 Question I have trouble weaving some aspects during compile time since I added the sourceDirectory tag with "src/main/java" as path. Before "." was set. Now the aspects are not weaved into the classes. ... <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>1.6.7</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.6.7</version> </dependency> ... <build> <sourceDirectory>src/main/java<