Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Maven build does not find xcore lib?
Maven build does not find xcore lib? [message #1858508] Wed, 05 April 2023 13:40 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hello all,

I've just updated to JRE 17 and Tycho 3.0.4. Almost all builds are running fine again, except the DSL bundle.

I also applied the following version increments:

  • ecore-xcore: updated from 1.11.0 to 1.24.0
  • ecore-xcore-lib: updated from 1.4.0 to 1.7.0
  • ecore-xtext: updated from 1.5.0 to 1.7.0
  • emf: updated from 2.20.0 to 2.33.0
  • emf-codegen: updated from 2.19.0 to 2.23.0
  • emf-common: updated from 2.17.0 to 2.28.0
  • mwe2: updated from 2.11.3 to 2.14.0


Here is the current error output:

Quote:

Execution default of goal org.eclipse.xtext:xtext-maven-plugin:2.30.0:generate failed: Plugin org.eclipse.xtext:xtext-maven-plugin:2.30.0 or one of its dependencies could not be resolved:

Failed to collect dependencies at org.eclipse.xtext:xtext-maven-plugin:jar:2.30.0
-> org.eclipse.emf:org.eclipse.emf.ecore.xcore:jar:1.24.0
-> org.eclipse.emf:org.eclipse.emf.ecore.xcore.lib:jar:[1.7.0,2.0.0):
No versions available for org.eclipse.emf:org.eclipse.emf.ecore.xcore.lib:jar:[1.7.0,2.0.0) within specified range -> [Help 1]


I found our that there seems to be a version 1.7.0 at https://mvnrepository.com/artifact/org.eclipse.emf/org.eclipse.emf.ecore.xcore.lib. Do you have an idea what could be wrong here? Do I maybe need to downgrade something?

Thank you very much for your assistance.

[Updated on: Wed, 05 April 2023 13:41]

Report message to a moderator

Re: Maven build does not find xcore lib? [message #1858509 is a reply to message #1858508] Wed, 05 April 2023 13:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14729
Registered: July 2009
Senior Member
Can you provide a reproducer

And double check you run maven with -U


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com

[Updated on: Wed, 05 April 2023 14:02]

Report message to a moderator

Re: Maven build does not find xcore lib? [message #1858516 is a reply to message #1858509] Wed, 05 April 2023 14:44 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
-U did it. Thanks Christian! Need to add that flag to my notes.
Previous Topic:Identation in xtend template with tracing
Next Topic:Tracing resource location
Goto Forum:
  


Current Time: Mon Nov 04 11:04:34 GMT 2024

Powered by FUDForum. Page generated in 0.03624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top