maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (MRELEASE-303) Resolved SNAPSHOT versions are overwritten
Date Fri, 16 Mar 2012 22:27:03 GMT

     [ https://jira.codehaus.org/browse/MRELEASE-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte closed MRELEASE-303.
-----------------------------------

    Resolution: Duplicate
      Assignee: Robert Scholte

Duplicate of MRELEASE-589, already fixed in version 2.1
                
> Resolved SNAPSHOT versions are overwritten
> ------------------------------------------
>
>                 Key: MRELEASE-303
>                 URL: https://jira.codehaus.org/browse/MRELEASE-303
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-8
>            Reporter: Jean-Philippe Steck
>            Assignee: Robert Scholte
>
> When running release:prepare on a parent-child projet, I'm asked to resolved the SNAPSHOT
version but some of my answers are ignored.
> Cause is : 
> In this method : CheckDependencySnapshotsPhase.resolveSnapshots
> Lig 367 : releaseDescriptor.setResolvedSnapshotDependencies( resolvedSnapshots );
> This line overwrite the map of resolved snapshot of the releaseDescriptor : 
> The newly resolved informations should be added to the existing map.
> It should be smthg like : 
> for (resolvedSnapshots ) {
>   if (! eleaseDescriptor.getResolvedSnapshotDependencies().contains(key))
>     releaseDescriptor.getResolvedSnapshotDependencies().put(resolvedSnapshots.key, resolvedSnapshots
.value)
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message