Apache Lucene open-source search software
LUCENE-6277: Allow Ivy resolutionCacheDir to be overridden by system property.
Mark Robert Millerefc99d679942
diff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex 3585defcda3..d34218b99dd 100644--- a/lucene/common-build.xml+++ b/lucene/common-build.xml@@ -77,6 +77,7 @@<property name="ivy.bootstrap.version" value="2.3.0" /><property name="ivy.default.configuration" value="*"/><property name="ivy.sync" value="true"/>+ <property name="ivy.resolution-cache" value="${common.build.dir}/ivy-resolution-cache"/><property name="junit.jar" value="junit-4.10.jar"/><property name="junit-location.jar" location="${common.dir}/test-framework/lib/${junit.jar}"/>diff --git a/lucene/ivy-settings.xml b/lucene/ivy-settings.xmlindex 024db07f989..629bb225cd4 100644--- a/lucene/ivy-settings.xml+++ b/lucene/ivy-settings.xml@@ -28,7 +28,7 @@<include url="${ivy.default.settings.dir}/ivysettings-local.xml"/><include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>- <caches lockStrategy="artifact-lock" resolutionCacheDir="${common.build.dir}/ivy-resolution-cache" />+ <caches lockStrategy="artifact-lock" resolutionCacheDir="${ivy.resolution-cache}" /><resolvers><ibiblio name="sonatype-releases" root="https://oss.sonatype.org/content/repositories/releases" m2compatible="true" />