xtend-maven-plugin: ComponentLookupException

120 views
Skip to first unread message

Ralf Mollik

unread,
Jun 17, 2021, 7:32:48 AM6/17/21
to Xtend Programming Language

Hi,
since yesterday, I get the following error when running the maven build for all of my bundles:

Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.11.0:compile (default) on project org.eclipse.osbp.authentication.aggregator: Execution default of goal org.eclipse.xtend:xtend-maven-plugin:2.11.0:compile failed: Unable to load the mojo 'compile' in the plugin 'org.eclipse.xtend:xtend-maven-plugin:2.11.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/eclipse/core/runtime/OperationCanceledException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

What has changed is at least the version of org.eclipse.core.runtime to 3.22.0 which seems to be built with java 11 ( thats what I take from the message above).

My question is: how can I manage the versions of the bundles used by the xtend-maven-plugin? We're building for java 8 at the moment and I can not simply switch the java version ...

Thanks in advance

Ralf

Christian Dietrich

unread,
Jun 18, 2021, 1:15:31 AM6/18/21
to Xtend Programming Language
Reply all
Reply to author
Forward
0 new messages