Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XText maven build fails out of the box(Using Eclipse 2019-12 (4.14.0) Maven parent build fails with xtext project created via new wizard)
XText maven build fails out of the box [message #1821843] Fri, 21 February 2020 02:45 Go to next message
Duncan Krebs is currently offline Duncan KrebsFriend
Messages: 9
Registered: July 2014
Junior Member
Hello,
I am trying to validate a xtext project maven build with a new project created from the wizard with the latest version of eclipse. Once the project is created I go into the parent project pom and execute mvn clean install but it fails with this error. Any ideas?

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (mwe2Launcher) on project com.xxx.trade.xstream.script: Execution mwe2Launcher of goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.6.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:exec-maven-plugin:jar:1.6.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.11.1 -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.11.1]: No versions available for org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.11.1] within specified range -> [Help 1]

Re: XText maven build fails out of the box [message #1821845 is a reply to message #1821843] Fri, 21 February 2020 05:25 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13637
Registered: July 2009
Senior Member
Did you try to call maven with -U to make sure it looks out for the dependency.

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:XText maven build fails out of the box
Next Topic:CfP: 20th International Workshop on OCL and Textual Modeling (OCL'2020 @ STAF)
Goto Forum:
  


Current Time: Sat Oct 24 15:13:51 GMT 2020

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

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

Back to the top