You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2013/07/08 19:23:48 UTC

[jira] [Created] (OODT-643) Maven Release Plugin generates incorrect tag and trunk version numbers

Chris A. Mattmann created OODT-643:
--------------------------------------

             Summary: Maven Release Plugin generates incorrect tag and trunk version numbers
                 Key: OODT-643
                 URL: https://issues.apache.org/jira/browse/OODT-643
             Project: OODT
          Issue Type: Bug
          Components: build proces
    Affects Versions: 0.6
         Environment: Java6
Mac OS X 10.8.2
Maven3
            Reporter: Chris A. Mattmann
            Priority: Critical
             Fix For: 0.7


During the release:prepare and release:perform step of the 0.6 release, I ran into some real weirdness. Mainly:

* some modules were processed in trunk as still having the 0.6-SNAPSHOT version number (see below)
* the 0.6 tag generated these same modules as having version 0.6-SNAPSHOT

I had to modify the above by hand to get it working. I also had to fake and update the pom.xml (root pom) to 0.7-SNAPSHOT to get it building after the mvn release:prepare step (and before mvn release:perform).

This coupled with the random test failures in the protocol-* plugins, as well as initially in commons and then later randomly in workflow and other places, made building the RC a nightmare. We'll need to fix these for the 0.7 release.

Here's the list of poms that didn't get transformed properly:

{noformat}
[terra:~/src/oodt/trunk] mattmann% grep -R "0.6-SNAPSHOT" * | grep pom.xml | grep -v "text-base" | grep -v "target"
cli/pom.xml:		<version>0.6-SNAPSHOT</version>
commons/pom.xml:    <version>0.6-SNAPSHOT</version>
core/pom.xml:    <version>0.6-SNAPSHOT</version>
metadata/pom.xml:    <version>0.6-SNAPSHOT</version>
pcs/input/pom.xml:    <version>0.6-SNAPSHOT</version>
protocol/api/pom.xml:		<version>0.6-SNAPSHOT</version>
protocol/ftp/pom.xml:		<version>0.6-SNAPSHOT</version>
protocol/http/pom.xml:		<version>0.6-SNAPSHOT</version>
protocol/imaps/pom.xml:		<version>0.6-SNAPSHOT</version>
[terra:~/src/oodt/trunk] mattmann% 
{noformat}


--
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