dev@glassfish.java.net

Re: [ANN] POM change to disable SNAPSHOT updates by default

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 28 Mar 2008 23:13:24 +0530

I tried doing a build in the distribution/nucleus directory and I see
similar output. So, I don't believe we can do off line builds yet.

Thanks,
Sahoo

Marina Vatkina wrote:
> I'm still getting all these messages running 'mvn clean install':
> [INFO] snapshot com.sun.enterprise:test-harness:0.2-SNAPSHOT: checking
> for updates from maven-repository.dev.java.net
> [INFO] snapshot com.sun.enterprise:test-harness:0.2-SNAPSHOT: checking
> for updates from java.net
>
> Am I missing something?
>
> thanks,
> -marina
>
> Kohsuke Kawaguchi wrote:
>>
>> As we discussed last week, I just committed a change to turn off the
>> SNAPSHOT updates by default in the v3 workspace.
>>
>> With this change, once you update your v3 workspace, running "mvn
>> install" or "mvn package" would behave as if the -o option is
>> implicitly given --- it will never attempt to download SNAPSHOT
>> versions (unless you don't have it locally.)
>>
>> To have Maven download the latest SNAPSHOTS, you'd now have to use
>> the -U option explicitly.
>>
>> We are still trying to understand the full implications of this
>> change, so please share with us how this worked out for you, either
>> good or bad.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>