Closed Powana closed 2 years ago
After updating the version numbers specified in fara-oxygen-artop.target
to 4.12.1.202102191709
, the build now fails with the following error:
[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.18.0:compile (default) on project org.genivi.faracon: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.18.0:compile failed: Unable to load the mojo 'compile' in the plugin 'org.eclipse.xtend:xtend-maven-plugin:2.18.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: null
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.eclipse.xtend:xtend-maven-plugin:2.18.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls = < bunch of URL entries for the .m2 paths >
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.genivi.faracon:org.genivi.faracon.parent:0.9.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : ExceptionInInitializerError: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @143fb8d5
[ERROR] -> [Help 1]
I fixed the Artop version from 4.12 to 4.12.1. In order to run the Maven build as described in the Wiki, Java 8 has to be installed. I just added a remark about that on the corresponding Wiki page.
Just tested the build as described above with latest master. Works nicely.
Attempting to build following the instructions in the wiki, and I'm getting the following error after running
mvn clean install -Pwith-artop
:The authentication for artop.org is successful, I'm using a proxy, but the proxy is set up correctly with maven. I don't have any experience with maven so I'm not sure where to look for errors. The link provided in [Help 1] is dead. The error is the same on Windows 10 and Ubuntu 21.04.