Manuel Fünfrocken created MVERSIONS-177:
-------------------------------------------
Summary: versions:resolve-ranges does not change the pom file
Key: MVERSIONS-177
URL: https://jira.codehaus.org/browse/MVERSIONS-177
Project: Maven 2.x Versions Plugin
Issue Type: Bug
Affects Versions: 1.3.1
Environment: Ubuntu Linux 10.04, Java version: 1.6.0_26, Apache Maven
2.2.1, Sonatype Nexus Open Source Edition, Version: 1.9.2.2
Reporter: Manuel Fünfrocken
Attachments: pom.xml
Since the update from 1.2 to 1.3.1 it seems that the goal
versions:resolve-ranges does not change the pom.xml at all.
I have created a test pom.xml file (see attachment), based on the
[documentation|http://mojo.codehaus.org/versions-maven-plugin/examples/resolve-ranges.html])
of version:resolve-ranges.
If I execute {{mvn dependency:resolve}}, it resolves the dependencies to the
following versions:
{quote} [INFO] The following files have been resolved:
[INFO] classworlds:classworlds:jar:1.1-alpha-2:compile
[INFO] junit:junit:jar:3.8.1:compile
[INFO] org.apache.maven:maven-artifact:jar:2.0.8:compile
[INFO] org.apache.maven:maven-artifact-manager:jar:2.0.8:compile
[INFO] org.apache.maven:maven-model:jar:2.0.8:compile
[INFO] org.apache.maven:maven-plugin-registry:jar:2.0.8:compile
[INFO] org.apache.maven:maven-profile:jar:2.0.8:compile
[INFO] org.apache.maven:maven-project:jar:2.0.8:compile
[INFO] org.apache.maven:maven-repository-metadata:jar:2.0.8:compile
[INFO] org.apache.maven:maven-settings:jar:2.0.8:compile
[INFO] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
[INFO]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[INFO] org.codehaus.plexus:plexus-utils:jar:1.5.1:compile
[INFO]
{quote}
However, if I then run {{mvn versions:resolve-ranges}} the build succeeds, but
the pom stays unchanged.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email