Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-323

generateReleasePoms fails after first release:prepare

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      See line 38 of PerforceAddConsumer.

      The regexp assumes a "#1" is appended to depot location when adding a file. This is only true for files that have never been in the depot before. When using generateReleasePoms, the release-pom.xml gets committed and then deleted during release:prepare. Upon subsequent prepares, the revision number will not be "#1".

        Attachments

          Activity

            People

            • Assignee:
              pschneider Patrick Schneider
              Reporter:
              pschneider Patrick Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: