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