LUCENE-4358: Maven configuration: revert removal of Apache snapshot repo declaration in the grandparent POM, and add a clause to disable snapshots.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2012-09-05 05:09:26 +00:00
parent 678e35aa58
commit 21a9087986
1 changed files with 15 additions and 0 deletions

View File

@ -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>