Skip to content

Apache Lucene open-source search software

LUCENE-5349: Ivy's resolution cache can easily corrupt and cause premature end of file errors.

Mark Robert Miller59186c5ae781
diff --git a/lucene/ivy-settings.xml b/lucene/ivy-settings.xml
index 3ab31383696..f7b24ad4562 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"/>
+ <caches lockStrategy="artifact-lock" resolutionCacheDir="${common.build.dir}/ivy-resolution-cache" />
<resolvers>
<ibiblio name="sonatype-releases" root="http://oss.sonatype.org/content/repositories/releases" m2compatible="true" />