Apache Lucene open-source search software
LUCENE-3987: added sonatype releases to ivy/maven repos.
Dawid Weiss24b2c545d8b3
diff --git a/dev-tools/maven/lucene/test-framework/pom.xml.template b/dev-tools/maven/lucene/test-framework/pom.xml.templateindex 37ebacef884..f13c5171c66 100644--- a/dev-tools/maven/lucene/test-framework/pom.xml.template+++ b/dev-tools/maven/lucene/test-framework/pom.xml.template@@ -90,4 +90,17 @@</plugin></plugins></build>+ <repositories>+ <repository>+ <id>sonatype.releases</id>+ <name>Sonatype Releases Repository</name>+ <url>http://oss.sonatype.org/content/repositories/releases</url>+ <releases>+ <enabled>true</enabled>+ </releases>+ <snapshots>+ <updatePolicy>never</updatePolicy>+ </snapshots>+ </repository>+ </repositories></project>diff --git a/lucene/test-framework/ivysettings.xml b/lucene/test-framework/ivysettings.xmlnew file mode 100644index 00000000000..50629eb7286--- /dev/null+++ b/lucene/test-framework/ivysettings.xml@@ -0,0 +1,19 @@+<ivysettings>+ <!-- Default Ivy settings. -->+ <settings defaultResolver="default"/>++ <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>+ <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>+ <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>+ <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>++ <resolvers>+ <ibiblio name="sonatype-releases" root="http://oss.sonatype.org/content/repositories/releases" m2compatible="true" />++ <chain name="default" returnFirst="true" checkmodified="true">+ <resolver ref="local"/>+ <resolver ref="main"/>+ <resolver ref="sonatype-releases" />+ </chain>+ </resolvers>+</ivysettings>\ No newline at end of file