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
We are trying to migrate our project to Java 11 with the minimum scala version that is compatible with Java 11. As found in the scala blog here https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html the scala version 2.11.12 is compatible with Java 11, but the below block of code is blocking this:
We are getting below error while compiling with maven and Java 11 and scala 2.11.12. But ideally this should work.
Fatal error compiling: invalid target release: 11
As per the plugin code Java 11 can be used only with scala 2.12.0, but we have few constraints to migrate to 2.12.0. Also other than the "-release" flag I don't see any other option working for Java 11.
The text was updated successfully, but these errors were encountered:
Hi,
We are trying to migrate our project to Java 11 with the minimum scala version that is compatible with Java 11. As found in the scala blog here https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html the scala version 2.11.12 is compatible with Java 11, but the below block of code is blocking this:
scala-maven-plugin/src/main/java/scala_maven/ScalaMojoSupport.java
Line 623 in eea9388
We are getting below error while compiling with maven and Java 11 and scala 2.11.12. But ideally this should work.
As per the plugin code Java 11 can be used only with scala 2.12.0, but we have few constraints to migrate to 2.12.0. Also other than the "-release" flag I don't see any other option working for Java 11.
The text was updated successfully, but these errors were encountered: