Dependency error while upgrading to 2.12 [message #1769627] |
Wed, 02 August 2017 09:59  |
Weihua Fan Messages: 18 Registered: December 2015 |
Junior Member |
|
|
I was trying to upgrade my project from 2.10 to 2.12. I encountered follow error while build with maven. I thought there may be somewhere not compatible with 2.10. So I installed the latest eclipse oxygen with xtext and create an empty project with wizard. But when I build it with maven I still got the same error. Can someone help me?
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/pom.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/neon/201606221000/
[INFO] Adding repository http://download.eclipse.org/releases/neon/201606221000
[INFO] Adding repository http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.9.0
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.12.0/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.12.0/
[INFO] Adding repository http://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.12.0
[INFO] Resolving dependencies of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/pom.xml
[INFO] Resolving class path of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/pom.xml
[INFO] Computing target platform for MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ide:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ide/pom.xml
[INFO] Resolving dependencies of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ide:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ide/pom.xml
[INFO] Resolving class path of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ide:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ide/pom.xml
[INFO] Computing target platform for MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui/pom.xml
[INFO] Resolving dependencies of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui/pom.xml
[INFO] Resolving class path of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui/pom.xml
[INFO] Computing target platform for MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.tests/pom.xml
[INFO] Resolving dependencies of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.tests/pom.xml
[INFO] Resolving class path of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.tests/pom.xml
[INFO] Computing target platform for MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui.tests/pom.xml
[INFO] Resolving dependencies of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui.tests/pom.xml
[INFO] Resolving class path of MavenProject: org.xtext.example.mydsl:org.xtext.example.mydsl.ui.tests:1.0.0-SNAPSHOT @ /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl.ui.tests/pom.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] org.xtext.example.mydsl.parent
[INFO] org.xtext.example.mydsl
[INFO] org.xtext.example.mydsl.ide
[INFO] org.xtext.example.mydsl.ui
[INFO] org.xtext.example.mydsl.target
[INFO] org.xtext.example.mydsl.tests
[INFO] org.xtext.example.mydsl.ui.tests
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.xtext.example.mydsl.parent 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.xtext.example.mydsl.parent ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.xtext.example.mydsl 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.xtext.example.mydsl ---
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/xtend-gen (includes = [**/*], excludes = [])
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/../org.xtext.example.mydsl/src-gen (includes = [**/*], excludes = [])
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/../org.xtext.example.mydsl.tests/src-gen (includes = [**/*], excludes = [])
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/../org.xtext.example.mydsl.ide/src-gen (includes = [**/*], excludes = [])
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/../org.xtext.example.mydsl.ui/src-gen (includes = [**/*], excludes = [])
[INFO] Deleting /Users/fanweihua/eclipse-workspace-xtext/org.xtext.example.mydsl.parent/org.xtext.example.mydsl/../org.xtext.example.mydsl.ui.tests/src-gen (includes = [**/*], excludes = [])
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:build-qualifier (default-build-qualifier) @ org.xtext.example.mydsl ---
[INFO] The project's OSGi version is 1.0.0.201708020949
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-id (default-validate-id) @ org.xtext.example.mydsl ---
[INFO]
[INFO] --- tycho-packaging-plugin:1.0.0:validate-version (default-validate-version) @ org.xtext.example.mydsl ---
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (mwe2Launcher) @ org.xtext.example.mydsl ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.xtext.example.mydsl.parent ..................... SUCCESS [ 0.058 s]
[INFO] org.xtext.example.mydsl ............................ FAILURE [ 0.451 s]
[INFO] org.xtext.example.mydsl.ide ........................ SKIPPED
[INFO] org.xtext.example.mydsl.ui ......................... SKIPPED
[INFO] org.xtext.example.mydsl.target ..................... SKIPPED
[INFO] org.xtext.example.mydsl.tests ...................... SKIPPED
[INFO] org.xtext.example.mydsl.ui.tests ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.459 s
[INFO] Finished at: 2017-08-02T17:50:02+08:00
[INFO] Final Memory: 48M/450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:java (mwe2Launcher) on project org.xtext.example.mydsl: 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.12.0 -> org.eclipse.emf:org.eclipse.emf.mwe.utils:jar:1.3.20.201605261059 -> org.eclipse.emf:org.eclipse.emf.mwe.core:jar:[1.3.20.201605261059]: No versions available for org.eclipse.emf:org.eclipse.emf.mwe.core:jar:[1.3.20.201605261059] within specified range -> [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/PluginResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.xtext.example.mydsl
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02536 seconds