You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2012/09/05 07:09:27 UTC
svn commit: r1380993 - /lucene/dev/trunk/dev-tools/maven/pom.xml.template
Author: sarowe
Date: Wed Sep 5 05:09:26 2012
New Revision: 1380993
URL: http://svn.apache.org/viewvc?rev=1380993&view=rev
Log:
LUCENE-4358: Maven configuration: revert removal of Apache snapshot repo declaration in the grandparent POM, and add a clause to disable snapshots.
Modified:
lucene/dev/trunk/dev-tools/maven/pom.xml.template
Modified: lucene/dev/trunk/dev-tools/maven/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/pom.xml.template?rev=1380993&r1=1380992&r2=1380993&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/pom.xml.template (original)
+++ lucene/dev/trunk/dev-tools/maven/pom.xml.template Wed Sep 5 05:09:26 2012
@@ -122,6 +122,21 @@
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://repository.apache.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <!-- Disable the Apache snapshot repository, overriding declaration in parent Apache POM. -->
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
<dependencyManagement>
<dependencies>
<dependency>