Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-233

ScmCheckModificationsPhase ignores pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-6
    • 2.0-beta-6
    • None
    • None
    • Windows XP, Cygwin

    Description

      Any local changes to pom.xmls are committed when using release:prepare. Such changes should be committed manually by the user before releasing to keep commits atomic. Thus pom.xml needs to be removed from the ScmCheckModificationsPhase exclusion list to fail the build under these circumstances.

      The attached patch removes pom.xml from the excluded files and realigns the tests accordingly.

      Attachments

        1. patch.txt
          3 kB
          Mark Hobson

        Activity

          People

            evenisse Emmanuel Venisse
            markh Mark Hobson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: