Reopening issue, because it doesn't work as suggested.

In this case, I am setting the parent to 6.0.1-SNAPSHOT, but it sets it to 6.1.0-SNAPSHOT

$ head pom.xml 
<project ...>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-parent-with-dependencies</artifactId>
    <version>6.1.0-SNAPSHOT</version>
...
$ mvn versions:update-parent -DparentVersion=6.0.1-SNAPSHOT -DallowSnapshots=true -DgenerateBackupPoms=false
...
[INFO] Reactor Build Order:
[INFO] 
[INFO] jBPM Designer
...
[INFO] Building jBPM Designer 6.1.0-SNAPSHOT
...
[INFO] --- versions-maven-plugin:2.1:update-parent (default-cli) @ jbpm-designer ---
[INFO] Current version of org.kie:kie-parent-with-dependencies:pom:6.1.0-SNAPSHOT is the latest.
...
[INFO] BUILD SUCCESS
...
$ head pom.xml 
<project ...>
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-parent-with-dependencies</artifactId>
    <version>6.1.0-SNAPSHOT</version>
...
$ 

Notice how it says "[INFO] Current version of org.kie:kie-parent-with-dependencies:pom:6.1.0-SNAPSHOT is the latest", which is the polite way of saying "6.0.1-SNAPSHOT, hahaha, go f* yourself, I am taking 6.1.0-SNAPSHOT"

HTH

Change By: Geoffrey De Smet (16/Dec/13 9:56 AM)
Status: Closed Reopened
Resolution: Not A Bug
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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

Reply via email to