LuciferYang commented on PR #6766: URL: https://github.com/apache/kyuubi/pull/6766#issuecomment-2429004741
``` org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.9.2:compile (scala-compile-first) on project kyuubi-common_2.12: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:4.9.2:compile failed: org.apache.commons.exec.ExecuteException: Process exited with an error: 255 (Exit value: 255) ``` After version 4.7.1, the `scala-maven-plugin` will, by default, add the `-release` compilation option for newer Scala versions, such as 2.13.9+ and possibly some newer versions of 2.12.x (I can't recall the specifics). https://github.com/davidB/scala-maven-plugin/issues/722 This can lead to compilation errors when crossing Java versions, such as using Java APIs that are not `export`ed. If it's not possible to avoid using them, we can try downgrading the `scala-maven-plugin` to version 4.7.1 to avoid the forced addition of the `-release` compilation option. -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org