I was actually under the impression you could do this like this:

<repository>
  <releases>
    <updatePolicy>always</updatePolicy>
  </releases>
</repository>

Although I've never tried this because it's a terrible idea.

If this doesn't work, someone should probably remove the corresponding
section from http://maven.apache.org/settings.html#Repositories and
http://maven.apache.org/settings.html#Repositories (yes, those pages
show the repository being disabled, but it is still configured with an
updatePolicy).

Justin

On 7/30/10 12:39 PM, Jason van Zyl wrote:
> Maven won't do that, and we would never make that possible. If you require 
> this you have something seriously wrong with your project infrastructure. 
> Seriously bad project infrastructure smell.
> 
> On Jul 30, 2010, at 12:01 PM, Shan Syed wrote:
> 
>> is there a way to force a project to refresh certain dependencies every
>> build? i.e. replicate SNAPSHOT behaviour with "released" artifacts
>>
>> S
> 
> Thanks,
> 
> Jason
> 
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ---------------------------------------------------------
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to