xtext / maven-xtext-example

An Xtext language and example usage of it built with Maven
61 stars 33 forks source link

Build failure because org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.5.0-SNAPSHOT could not be resolved #20

Closed vcottagiri closed 10 years ago

vcottagiri commented 10 years ago

It works when xtext-2.5.0-SNAPSHOT is changed to just xtext-2.5.0 in my.mavenized.herolanguage/pom.xml

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] My Hero Language Core ............................. FAILURE [1.401s]
[INFO] My Hero Language UI ............................... SKIPPED
[INFO] My Hero Language Tests ............................ SKIPPED
[INFO] My Hero Language Feature .......................... SKIPPED
[INFO] My Hero Language Update Site ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.644s
[INFO] Finished at: Wed Jan 01 15:46:45 EST 2014
[INFO] Final Memory: 59M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project my.mavenized.herolanguage: 
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: 
The following artifacts could not be resolved: org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.5.0-SNAPSHOT, org.eclipse.xtext:org.eclipse.xtext.xbase:jar:2.5.0-SNAPSHOT: 
Could not find artifact org.eclipse.xtext:org.eclipse.xtext.xtext:jar:2.5.0-SNAPSHOT in codehaus.org (http://snapshots.repository.codehaus.org) -> [Help 1]
svenefftinge commented 10 years ago

It should resolve against '2.5.0' rather than looking for '2.5.0-SNAPSHOT'. Are you sure you are using the latest master?

vcottagiri commented 10 years ago

Yes, I am using the lastest master. See here, the pom specifies '2.5.0-SNAPSHOT'

svenefftinge commented 10 years ago

thanx, I fixed it.