You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
An exception has occurred in the compiler (1.8.0_25). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: endPosTable already set
at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
...
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:
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:
The text was updated successfully, but these errors were encountered: