Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » maven mwe2Launcher for XText 2.13.0
maven mwe2Launcher for XText 2.13.0 [message #1780655] Thu, 25 January 2018 11:17 Go to next message
Kirill Balod is currently offline Kirill BalodFriend
Messages: 1
Registered: January 2018
Junior Member
Hello,

There is the example for maven XText code generation - https://github.com/xtext/maven-xtext-example

It uses the XText version 2.11 and can be updated to the version 2.12 (at least the package phase passed)
But for the version 2.13 the package phase fails with the following message:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (mwe2Launcher) on project my.mavenized.herolanguage:
Execution mwe2Launcher of goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java failed:
Plugin org.codehaus.mojo:exec-maven-plugin:1.4.0 or one of its dependencies could not be resolved:
Failed to collect dependencies at
org.codehaus.mojo:exec-maven-plugin:jar:1.4.0 ->
org.eclipse.xtext:org.eclipse.xtext.xtext.generator:jar:2.13.0 ->
org.eclipse.emf:org.eclipse.emf.mwe.utils:jar:1.3.21.201705291010 ->
org.eclipse.emf:org.eclipse.emf.mwe.core:jar:[1.3.21.201705291010]:
No versions available for org.eclipse.emf:org.eclipse.emf.mwe.core:jar:[1.3.21.201705291010] within specified range

Does somebody have an experience of switching to XText 2.13?
Re: maven mwe2Launcher for XText 2.13.0 [message #1780758 is a reply to message #1780655] Fri, 26 January 2018 16:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11731
Registered: July 2009
Senior Member
do you know the wizard has options to create a maven build

did you switch from neon to oxygen update site?
did you update the mwe version?
did you build with -U


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: maven mwe2Launcher for XText 2.13.0 [message #1780759 is a reply to message #1780758] Fri, 26 January 2018 16:41 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11731
Registered: July 2009
Senior Member
see https://github.com/xtext/maven-xtext-example/tree/cd_xtext213

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:Compiler tests for multi-DSLs?
Next Topic:Crossreferencing graphiti resources from xtext grammar
Goto Forum:
  


Current Time: Wed Feb 21 09:19:32 GMT 2018

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

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