Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-6568: Make rat invocation depend on ivy configuration being set up

Ramkumar Aiyengar9281fd9378d5
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 22ee4205d51..3c97636019a 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -251,6 +251,9 @@ Build
* LUCENE-6567: Simplify payload checking in SpanPayloadCheckQuery (Alan
Woodward)
+* LUCENE-6568: Make rat invocation depend on ivy configuration being set up
+ (Ramkumar Aiyengar)
+
Changes in Backwards Compatibility Policy
* LUCENE-6553: The iterator returned by the LeafReader.postings method now
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 138449123ea..dc6013af2f9 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1811,7 +1811,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
</ant>
</target>
- <target name="rat-sources-typedef" unless="rat.loaded">
+ <target name="rat-sources-typedef" unless="rat.loaded" depends="ivy-availability-check,ivy-configure">
<ivy:cachepath organisation="org.apache.rat" module="apache-rat" revision="0.11" transitive="false" inline="true" conf="master" type="jar" pathid="rat.classpath"/>
<typedef resource="org/apache/rat/anttasks/antlib.xml" uri="antlib:org.apache.rat.anttasks" classpathref="rat.classpath"/>
<property name="rat.loaded" value="true"/>