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

snapshot dependencies in dependency management are not updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.4.2
    • None
    • prepare
    • None

    Description

      release:prepare will refuse to release if you have dependencies that are snapshot. For dependency management this has regressed, and allows you to do a release with snapshot versions in your dependency management.

      It was supposedly fixed in MRELEASE-202 and MRELEASE-91 though both contain comments that it's not fixed.

      This is a problem with parent poms, when you don't realise that you have snapshot versions in your released pom until you try and release a child project which uses these snapshots. But at this point it is too late, the parent has been released.

      See the attached pom as an example, change the scm url and mvn release:prepare

      Attachments

        1. pom.xml
          1 kB
          daniel carter

        Activity

          People

            Unassigned Unassigned
            dantheperson daniel carter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: