-
Bug
-
Resolution: Done
-
Major
-
None
-
3.2.0
-
None
-
-
-
maven.compiler.release property is now taken into account
When pom.xml contains <maven.compiler.release> property, shrinkwrap doesn't pick it up, and the default Java 5 compiler version is used.
<maven.compiler.source> and <maven.compiler.target> are being picked up, but they are deprecated as of later Java releases.
Please updated Shirkwrap to use <maven.compiler.release> to determine Java version.
Caused by: org.jboss.shrinkwrap.resolver.api.maven.archive.importer.MavenImporterException: Unable to compile sources at /Users/lprimak/Documents/dev/flowlogix/jakarta-ee/jee-examples/src/main/java due to following reason(s): bootstrap class path not set in conjunction with -source 5, Source option 5 is no longer supported. Use 8 or later., Target option 5 is no longer supported. Use 8 or later.
at org.jboss.shrinkwrap.resolver.impl.maven.archive.packaging.AbstractCompilingProcessor.constructCompilationException(AbstractCompilingProcessor.java:145)
at org.jboss.shrinkwrap.resolver.impl.maven.archive.packaging.AbstractCompilingProcessor.compile(AbstractCompilingProcessor.java:106)
at org.jboss.shrinkwrap.resolver.impl.maven.archive.packaging.WarPackagingProcessor.importBuildOutput(WarPackagingProcessor.java:87)
at org.jboss.shrinkwrap.resolver.impl.maven.archive.packaging.WarPackagingProcessor.importBuildOutput(WarPackagingProcessor.java:51)
at org.jboss.shrinkwrap.resolver.impl.maven.archive.importer.PomEquippedMavenImporterImpl.importBuildOutput(PomEquippedMavenImporterImpl.java:49)
at org.jboss.shrinkwrap.resolver.impl.maven.archive.importer.PomEquippedMavenImporterImpl.importBuildOutput(PomEquippedMavenImporterImpl.java:44)
at com.flowlogix.examples.ExceptionPageIT.createDeploymentDev(ExceptionPageIT.java:203)
at com.flowlogix.examples.Deployments.createDeployment(Deployments.java:33)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
... 82 more