wilx commented on issue #658: URL: https://github.com/apache/maven-compiler-plugin/issues/658#issuecomment-4951677072
I think this can be closed as fixed in maven-compiler-plugin 3.12.1. I tested the attached reproducer with Maven running on JDK 17 and an actual JDK 11 toolchain: - 3.12.0 (plexus-compiler 2.14.1) only reports `Compilation failure`. - 3.12.1 (plexus-compiler 2.14.2) reports the underlying Error Prone exception and message: ``` Caused by: com.google.errorprone.InvalidCommandLineOptionException: -XepPatchChecks and -XepPatchLocation must be specified together ``` The behavior remains fixed in 3.13.0 and the current 3.15.1-SNAPSHOT. The relevant Plexus Compiler fix appears to be https://github.com/codehaus-plexus/plexus-compiler/commit/b5631da2f56529027a21a0a981b09369cd394da2. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
