dev@glassfish.java.net

Re: how to build v3 offline ?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 04 Mar 2008 22:48:59 +0530

Byron Nevins wrote:
>
>
> Sahoo wrote:
>> Anissa,
>>
>> Try setting the "updatePolicy" to "never" in your ~/.m2/settings.xml
>> for the java.net repositories like this:
>> <repository>
>> <id>java.net-m2-repository</id>
>> <url>http://download.java.net/maven/2</url>
>> <layout>default</layout>
>> <snapshots>
>> <updatePolicy>always</updatePolicy>
>> </snapshots>
>> </repository>
>>
>
>> Do this for http://download.java.net/maven/glassfish repository as well.
> what is the ID -- can you give me the XML fragment to add?
>
The repository id is user choosen, so I specified the URL. The XML
fragment is already mentioned earlier - just change the id and url.

Sahoo