Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Problems running Maven "install" after updating Xtext to v2.11.0
Problems running Maven "install" after updating Xtext to v2.11.0 [message #1763516] Tue, 16 May 2017 23:42 Go to next message
Claudenir Fonseca is currently offline Claudenir FonsecaFriend
Messages: 8
Registered: February 2016
Junior Member
Dear all,

I am having problems running maven install after I have updated Xtext to version 2.11.0. I've tried to update Tychon's and Xtext's versions in the parent project and update the target file but having no success. Actually, the install procedure seems to not be using locations used from the target file.

I'm attaching the target file and the POM file from the parent project, hoping to clarify my problem.

At the end follows the console output as well.

Regards,
Claudenir.

[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.meta:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.meta\pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/
[INFO] Adding repository http://download.eclipse.org/releases/neon
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/neon/
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/neon/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201705151400/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201705151400/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201703141400/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201703141400/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201703231000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201703231000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201606221000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201606221000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201609281000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201609281000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201610111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201610111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201612211000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201612211000/
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.meta:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.meta\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.meta:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.meta\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ide:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ide\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ide:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ide\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ide:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ide\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ui:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ui\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ui:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ui\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.ui:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.ui\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.feature:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.feature\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.feature:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.feature\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.feature:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.feature\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.repository:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.repository\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.repository:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.repository\pom.xml
[INFO] Resolving class path of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.repository:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.repository\pom.xml
[INFO] Computing target platform for MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.tests:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.tests\pom.xml
[INFO] Resolving dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.tests:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.tests\pom.xml
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: br.ufes.inf.nemo.ml2.tests 1.0.0.qualifier
[ERROR]   Missing requirement: br.ufes.inf.nemo.ml2.tests 1.0.0.qualifier requires 'bundle org.eclipse.xtext.testing 0.0.0' but it could not be found
[ERROR] 
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: br.ufes.inf.nemo.ml2:br.ufes.inf.nemo.ml2.tests:1.0.0-SNAPSHOT @ C:\Users\claud\git\ML2-Editor\br.ufes.inf.nemo.ml2.parent\br.ufes.inf.nemo.ml2.tests\pom.xml: See log for details -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
Re: Problems running Maven "install" after updating Xtext to v2.11.0 [message #1763523 is a reply to message #1763516] Wed, 17 May 2017 04:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
You did not update the target. Nor the pom
Remove the stuff from the neon part
Create a Xtext part with Xtext update site
Use Xtext 2.11


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Wed, 17 May 2017 04:39]

Report message to a moderator

Re: Problems running Maven "install" after updating Xtext to v2.11.0 [message #1763528 is a reply to message #1763516] Wed, 17 May 2017 06:24 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

Xtext 2.11 can be obtained from http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.11.0/ and is not part of the Eclipse Neon composite repository.

Your target platform contains almost any major feature from the composite release repository. Why that? I think resolving this target during the build lasts ages. Reduce the scope to what you actually need.
Previous Topic:xtend and java classes for ScopeProvider and error generated code
Next Topic:ParallelResourceLoader - documentation?
Goto Forum:
  


Current Time: Fri Apr 19 14:37:15 GMT 2024

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

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

Back to the top