continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noon <>
Subject Re: Maven2 SNAPSHOT-artifacts in Continuum
Date Sun, 07 Oct 2007 08:02:00 GMT

This is exactly what I was looking for !!

Thanks !!

Stuart James Penrose-2 wrote:
> noon wrote:
>> I knew it... once I decided to post something, I come up with something
>> :)
>> I got it working by adding the -U argument to the Maven goal attributes
>> (goals: mvn clean test  arguments: --batch-mode --non-recursive -U).
>> I haven't figured out why I need to add this -U argument? Is it because
>> Continuum refreshes the SNAPSHOT versions is some period of time or
>> something else?
> If I'm understanding you right, it sounds like you're running into the 
> specifics of maven's '<updatePolicy>' settings.  '<updatePolicy>' is a 
> tag that you can put in your repository definition (either in the pom 
> for your project or in settings.xml) that controls how often maven goes 
> out to check to see if newer snapshots exist.  I think the default
> is 'daily', but you can change it to 'always' I think if that's what you 
> want.
> So, in other words, it's just a matter of how you setup the maven 
> install that continuum uses, not a continuum-specific thing per se.
> See
> Stu

View this message in context:
Sent from the Continuum - Users mailing list archive at

View raw message