LUCENE-6277: Allow Ivy resolutionCacheDir to be overridden by system property.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2015-02-23 14:34:58 +00:00
parent 7b03d6082f
commit efc99d6799
2 changed files with 2 additions and 1 deletions

View File

@ -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}"/>

View File

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