[jboss-jira] [JBoss JIRA] (JBRULES-3548) Easy version bumping during release procedure: Fix script update-version-all.sh
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Thu Jul 5 11:44:12 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet resolved JBRULES-3548.
---------------------------------------
Fix Version/s: 5.4.1.Final
5.5.0.Beta1
Resolution: Done
Fixed on 5.5, 5.4 and 5.3
> Easy version bumping during release procedure: Fix script update-version-all.sh
> -------------------------------------------------------------------------------
>
> Key: JBRULES-3548
> URL: https://issues.jboss.org/browse/JBRULES-3548
> Project: Drools
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: All
> Reporter: Geoffrey De Smet
> Assignee: Geoffrey De Smet
> Priority: Critical
> Fix For: 5.4.1.Final, 5.5.0.Beta1
>
>
> During a release of droolsjbpm (= droolsjbpm-knowledge, drools, jbpm, guvnor, drools-planner, droolsjbpm-tools, ...) we follow this release procedure:
> https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md#releasing-from-a-release-branch
> At one point we call this script to update the version number:
> https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/script/release/update-version-all.sh
> That script does several calls like this:
> {code}
> mvn -Dfull versions:update-parent -N -DparentVersion=$newVersion -DallowSnapshots=true
> {code}
> Which use the versions-maven-plugin's goal update-parent:
> http://mojo.codehaus.org/versions-maven-plugin/update-parent-mojo.html
> Which does not work as expected:
> It always updates to the latest, highest parent version, ignoring the parameter. For example:
> If ($newVersion == 5.3.2.Final) but 5.4.0.Final exists in the repositories, it uses 5.4.0.Final.
> This has been reported:
> https://jira.codehaus.org/browse/MVERSIONS-161 (rejected due to confusion)
> https://jira.codehaus.org/browse/MVERSIONS-185 (open and clearer)
> We need to fix MVERSIONS-185, ask the versions-maven-plugin to pull the changes and get it released (Paul Gier or John Casey might be able to help there).
> And then upgrade the plugin version here:
> https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/pom.xml#L403
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list