felix-atomos icon indicating copy to clipboard operation
felix-atomos copied to clipboard

Build fails with Java 17

Open fipro78 opened this issue 2 years ago • 6 comments

If I try to build atomos locally using a Java 17, the build fails with this error:

[ERROR] Failed to execute goal org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) on project osgi.core: Execution default of goal org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files failed: Unable to make private java.io.File(java.lang.String,java.io.File) accessible: module java.base does not "opens java.io" to unnamed module @627d5f99

Not sure if and how this can be fixed. Running the build using Java 11 works.

fipro78 avatar Sep 22 '22 12:09 fipro78