[ 
https://jira.codehaus.org/browse/MNG-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312302#comment-312302
 ] 

Anders Hammar commented on MNG-5362:
------------------------------------

Just to add, the "-U" flag should force and if you would provide a patch 
(including ITs) solving any current issues with non-unique snapshots it could 
be added. But, unique snapshots is the way forward IMO.
                
> Option to always download SNAPSHOT from remote repo
> ---------------------------------------------------
>
>                 Key: MNG-5362
>                 URL: https://jira.codehaus.org/browse/MNG-5362
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>            Reporter: Venkata
>            Priority: Minor
>
> It should be possible for a project to always download a remote SNAPSHOT 
> artifact when mentioned as part of the dependency.
> Consider our scenario, where we have two projects - projA and projB, projA 
> depends on projB - under active development.
> CI Builds happen on a cluster of 4 servers. ProjB ends up throwing errors 
> very frequently because latest of ProjA would have been compiled on a 
> different server than ProjB.
> For organizational reasons, we cannot make our Artifactory repo to use 
> 'Nonunique snapshots', i.e. we need the artifact name to be same for each 
> update in Maven repo.
> I am pretty sure that many people out there have been facing the same issue. 
> There are other solutions, but all of them are equally frustrating.
> It would be nice to have an updatePolicy of 'force' or something which will 
> always reach out to latest snapshot version.
> Thanks.

--
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

        

Reply via email to