Community
Participate
Working Groups
When using JDK 1.6 or JDK 1.7 with source/target/compliance set to 1.6, my Maven project (using aspectj-maven-plugin) compiles ok. When using JDK 1.7 with source/target/compliance set to 1.7, the test-compile phase of my Maven project fails, indicating that an ITD target fails to implement a required interface method: ===== [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:test-compile (default-testCompile) on project foundation-jpa: Compiler errors: [ERROR] error at public class DeletableThing { [ERROR] ^^^^^^^^^^^^^ [ERROR] /Users/matthew/Documents/foundation/foundation/jpa/src/test/java/com/scispike/foundation/jpa/test/unit/trait/persistence/DeletableThing.aj:10:0::0 The type DeletableThing must implement the inherited abstract method IHasEntityManager.getEntityManager() ... ===== The same class, however, if placed in the main source tree (src/main/java) compiles successfully, implying that there is some difference in the way compilation is happening with s/t/c 1.7. Andy Clement has been given reproducible private source offline.