maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daniel carter (JIRA)" <j...@codehaus.org>
Subject [jira] (MRELEASE-865) snapshot dependencies in dependency management are not updated
Date Tue, 11 Feb 2014 00:12:57 GMT
daniel carter created MRELEASE-865:
--------------------------------------

             Summary: snapshot dependencies in dependency management are not updated
                 Key: MRELEASE-865
                 URL: https://jira.codehaus.org/browse/MRELEASE-865
             Project: Maven Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.4.2
            Reporter: daniel carter
         Attachments: pom.xml

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



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message