Dear All:

I am on Ubuntu 10.04 amd64 with a fresh Helios install.

I do:
rm -rf ~/.m2/repository/org/eclipse/ && mvn eclipse:to-maven

plug-ins successfully installed into local repository.

Then I have a very simple pom.xml
http://maven.40175.n5.nabble.com/file/n2843283/pom.xml pom.xml 
that is basically from:
http://docs.codehaus.org/display/MAVENUSER/Eclipse+Plugin

I do a mvn clean install:
mi...@misha-d630:~/tmp$ mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Collaboratory Client Container
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] artifact org.eclipse:osgi: checking for updates from central
[INFO] artifact org.eclipse.equinox:common: checking for updates from
central
[INFO] artifact org.eclipse.core:jobs: checking for updates from central
[INFO] artifact org.eclipse.equinox:registry: checking for updates from
central
[INFO] artifact org.eclipse.equinox:preferences: checking for updates from
central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Couldn't find a version in [3.2.1-R32x_v20060717, 3.2.100-v20070522,
3.3.0-v20100503] to match range [3.3.0,4.0.0)
  org.eclipse.equinox:preferences:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Path to dependency: 
        1) nl.collaboratory.client:client-plugin-container:pom:1.0-SNAPSHOT
        2) org.eclipse.core:runtime:jar:3.6.0-v20100505



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Thu Sep 16 22:29:43 CDT 2010
[INFO] Final Memory: 13M/490M
[INFO]
------------------------------------------------------------------------
mi...@misha-d630:~/tmp$ 

This line:
Couldn't find a version in [3.2.1-R32x_v20060717, 3.2.100-v20070522,
3.3.0-v20100503] to match range [3.3.0,4.0.0)
seems like a bug in maven-eclipse-plugin? Clearly 3.3.0-v20100503] does in
fact match range [3.3.0,4.0.0)...

Any ideas/hints?

Thank you
Misha Koshelev
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/maven-eclipse-plugin-install-plugin-simple-example-not-working-tp2843283p2843283.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to