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

release:prepare should fail if any pom depends on SNAPSHOT parent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.1
    • prepare
    • None
    • maven-2.0.8
      java-1.6

    Description

      Currently the release plugin happily releases a pom that declares a SNAPSHOT version of parent.

      Such a release is exposed to a danger of irreproducibility:
      1.) on another machine
      2.) at another time (parent may significantly change in the meantime)

      While it can be sometimes convenient, it is, as I am quite sure, a bad behavior.

      Attachments

        1. MRELEASE-317.patch.txt
          9 kB
          Noel Keating

        Issue Links

          Activity

            People

              brett Brett Porter
              pkozelka Petr Kozelka
              Votes:
              14 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: