Dependency management versions should only be updated if they are SNAPSHOTs
---------------------------------------------------------------------------

         Key: MNG-1815
         URL: http://jira.codehaus.org/browse/MNG-1815
     Project: Maven 2
        Type: Bug

  Components: maven-release-plugin  
    Reporter: mike perham
 Attachments: snapshot.patch.txt

Versions in the dependencyManagement section should not be auto-incremented if 
they are released versions.

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>scmtest</groupId>
        <artifactId>scmtest-scmjar</artifactId>
        <version>1.0.9</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

If I'm releasing scmjar 1.0.10 as part of an overall release, it should not 
update the top-level dependency version to 1.0.10.  Developers should explicit 
increment from one release to another as that implies some amount of 
integration which must happen.  SNAPSHOTs should be automatically incremented 
to the new released version.

The patch is smaller than this writeup... :-)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to