Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-643

Maven Release Plugin generates incorrect tag and trunk version numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 0.6
    • 0.8.1
    • build proces
    • None
    • Java6
      Mac OS X 10.8.2
      Maven3

    • Newcomer (Easy) - Everyone can do this

    Description

      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:

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

      Attachments

        Activity

          People

            bugg_tb Tom Barber
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: