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

Anders Hammar updated MNG-5362:
-------------------------------

    Priority: Minor  (was: Major)

I believe that "-U" should work here or configuring updatePolicy to "always" 
for the repo. BUT, as you're using nonunique snapshots this might not work. 
However, unique snapshots is the supported way in Maven 3 so I would vote 
closing this ticket as won't fix. Lowering priority for now. Any other ASF 
Maven project member may close the ticket if he/she thinks the same.

I suggest you look into using unique snapshots which will most likely solve you 
problems.
                
> 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