Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.8.0 from Maven
Xtext 2.8.0 from Maven [message #1672135] Fri, 13 March 2015 22:13 Go to next message
Luis De Bello is currently offline Luis De BelloFriend
Messages: 95
Registered: January 2015
Member
Hi guys,

I am working with Xtext 2.7.3 and my build using maven works fine, however I tried to update my target platform for Xtext 2.8.0 and tried to execute the build from maven and I am getting the following error

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project org.mule.tooling.dfl: Execution default of goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:exec-maven-plugin:jar:1.2.1 -> org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.8.0 -> org.eclipse.xtext:org.eclipse.xtext.util:jar:[2.8.0]: No versions available for org.eclipse.xtext:org.eclipse.xtext.util:jar:[2.8.0] within specified range -> [Help 1]

I am using maven in tyco and one file for the target platform.

Did anyone have this problem from maven?

Regards,
Luis
Re: Xtext 2.8.0 from Maven [message #1673038 is a reply to message #1672135] Sat, 14 March 2015 06:29 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13898
Registered: July 2009
Senior Member
it ran fine for me running maven with the -U option

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
Re: Xtext 2.8.0 from Maven [message #1673130 is a reply to message #1673038] Sat, 14 March 2015 07:17 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1775
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 14/03/2015 07:29, Christian Dietrich wrote:
> it ran fine for me running maven with the -U option

I'm experiencing the same problem too almost every time I'm trying to
build using a different version of xtext maven artifacts; why is -U
(update artifacts) necessary in such cases?

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Xtext 2.8.0 from Maven [message #1673140 is a reply to message #1673130] Sat, 14 March 2015 07:24 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13898
Registered: July 2009
Senior Member
if you already run maven on the same day before it will not download new stuff

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
Re: Xtext 2.8.0 from Maven [message #1673915 is a reply to message #1673140] Sat, 14 March 2015 14:28 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1775
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 14/03/2015 08:24, Christian Dietrich wrote:
> if you already run maven on the same day before it will not download new
> stuff

well, it happens also even if I haven't run maven for some days

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Xtext 2.8.0 from Maven [message #1673962 is a reply to message #1673915] Sat, 14 March 2015 14:54 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13898
Registered: July 2009
Senior Member
hmmm maven sometimes stays a mystery to me

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:NullPointerException in XtextReconcilerJob when file extension has different capitalization
Next Topic:Doubt about cross-references
Goto Forum:
  


Current Time: Fri Apr 23 14:12:54 GMT 2021

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

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

Back to the top