dev@glassfish.java.net

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

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 28 Mar 2008 10:55:39 -0700

My latest observations are these:

- the updates are checked on the next day (didn't test if this happens after
midnight or in the XX hours);
- the updates are checked if I start build in a new terminal window;
- there are no check for updates in the subsequent builds (on the same day).

HTH,
-marina

Sahoo wrote:
> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>