Open cristcost opened 9 years ago
This is a Maven issue: https://issues.apache.org/jira/browse/MCOMPILER-236 I haven't investigated but it could be a duplicate of https://issues.apache.org/jira/browse/MCOMPILER-235 (where javac behavior is different between Java 7 –which errors out– and Java 8 –which crashes–) Both due to https://issues.apache.org/jira/browse/MCOMPILER-157
If the maven build of an annotated project is performed without a clean, the build fails if using maven-compiler-plugin 3.2 or 3.3.
The problem depends on the incremental compilation, and recompiling triggers an exception on the JDK's javac:
Currently the problem can be worked around by excluding incremental compilation in the target project's pom.xml adding the following configuration for the compiler plugin: