Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.7.0
-
None
Description
Maven compiler plugin does not support classes created by JDK 11 (major version 55). If you have classes created by JDK 11 in your classpath when using Maven Compiler, you've the following errors:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project java-examples-dev-core: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile failed: Unsupported class file major version 55 -> [Help 1]
See https://github.com/mincong-h/MCOMPILER-342 for reproduction
Attachments
Attachments
Issue Links
- is related to
-
MCOMPILER-390 Upgrade plexus-java from 0.9.10 to 1.0.3
- Closed
- supercedes
-
MCOMPILER-332 Java 10 not supported
- Closed
-
MCOMPILER-343 Tests fail to compile in modularized project due to wrong module descriptor path being passed to plexus-java
- Closed
- links to