I perform a clean install on a dummy project and I get this in the pom.xml
inside the produced jar.
without overdefinition
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
but no repository for maven_mirror
with id=central
<repository>
<releases>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<url>http://myserver/repository</url>
</repository>
and no maven_mirror definition
with id=maven_mirror
<repository>
<releases>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>maven_mirror</id>
<url>http://myserver/repository</url>
</repository>
and no central definition
--
View this message in context:
http://www.nabble.com/updatePolicy-t1848898.html#a5047520
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]