blob: a0b08715a88e38564b4acc542da6d1087ca9df50 [file] [log] [blame]
Index: lucene/common-build.xml
===================================================================
--- lucene/common-build.xml (revision 1526158)
+++ lucene/common-build.xml (working copy)
@@ -1235,7 +1235,7 @@
-->
<target name="clover" depends="-clover.disable,-clover.load,-clover.classpath,-clover.setup" description="Instrument the Unit tests using Clover. To use, specify -Drun.clover=true on the command line."/>
- <target name="-clover.load" if="run.clover" unless="clover.loaded">
+ <target name="-clover.load" depends="ivy-availability-check,ivy-configure" if="run.clover" unless="clover.loaded">
<available file="${clover.license.path}" property="clover.license.available" />
<fail unless="clover.license.available"><![CDATA[.
@@ -1256,8 +1256,8 @@
]]></fail>
<echo>Code coverage with Atlassian Clover enabled.</echo>
- <ivy:cachepath organisation="com.cenqua.clover" module="clover" revision="3.1.10"
- inline="true" conf="master" type="jar" pathid="clover.classpath"/>
+ <ivy:cachepath organisation="com.cenqua.clover" module="clover" revision="3.2.0-SNAPSHOT"
+ inline="true" conf="master" pathid="clover.classpath"/>
<taskdef resource="cloverlib.xml" classpathref="clover.classpath" />
<mkdir dir="${clover.db.dir}"/>
<!-- This is a hack, instead of setting "clover.loaded" to "true", we set it
Index: lucene/ivy-settings.xml
===================================================================
--- lucene/ivy-settings.xml (revision 1526158)
+++ lucene/ivy-settings.xml (working copy)
@@ -34,6 +34,9 @@
<!-- you might need to tweak this from china so it works -->
<ibiblio name="working-chinese-mirror" root="http://mirror.netcologne.de/maven2" m2compatible="true" />
+
+ <!-- temporary to try Clover 3.2.0 snapshots, see https://issues.apache.org/jira/browse/LUCENE-5243, https://jira.atlassian.com/browse/CLOV-1368 -->
+ <ibiblio name="atlassian-clover-snapshots" root="https://maven.atlassian.com/content/repositories/atlassian-public-snapshot" m2compatible="true" />
<!--
<filesystem name="local-maven-2" m2compatible="true" local="true">
@@ -50,6 +53,7 @@
<resolver ref="main"/>
<resolver ref="sonatype-releases" />
<resolver ref="maven.restlet.org" />
+ <resolver ref="atlassian-clover-snapshots" />
<resolver ref="working-chinese-mirror" />
</chain>
</resolvers>