LUCENE-7358: Remove redundant failonerror=true in (contrib|modules)-crawl elements.

This commit is contained in:
Christine Poerschke 2016-07-04 11:42:30 +01:00
parent 513cfd77e4
commit fd80ead401
2 changed files with 11 additions and 12 deletions

View File

@ -78,7 +78,7 @@
<!-- Validation here depends on compile-tools: but we want to compile modules' tools too --> <!-- Validation here depends on compile-tools: but we want to compile modules' tools too -->
<target name="compile-tools" depends="common.compile-tools"> <target name="compile-tools" depends="common.compile-tools">
<modules-crawl target="compile-tools" failonerror="true"/> <modules-crawl target="compile-tools"/>
</target> </target>
<target name="check-licenses" depends="compile-tools,resolve,load-custom-tasks" description="Validate license stuff."> <target name="check-licenses" depends="compile-tools,resolve,load-custom-tasks" description="Validate license stuff.">
@ -123,7 +123,7 @@
<ant dir="${common.dir}/tools" target="resolve" inheritAll="false"> <ant dir="${common.dir}/tools" target="resolve" inheritAll="false">
<propertyset refid="uptodate.and.compiled.properties"/> <propertyset refid="uptodate.and.compiled.properties"/>
</ant> </ant>
<modules-crawl target="resolve" failonerror="true"/> <modules-crawl target="resolve"/>
</sequential> </sequential>
</target> </target>
@ -242,8 +242,7 @@
</target> </target>
<target name="javadocs-modules" description="Generate javadoc for modules classes"> <target name="javadocs-modules" description="Generate javadoc for modules classes">
<modules-crawl target="javadocs" <modules-crawl target="javadocs"/>
failonerror="true"/>
</target> </target>
<!-- rat-sources-typedef is *not* a useless dependency. do not remove --> <!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
@ -462,7 +461,7 @@
<ant dir="test-framework" target="compile-test" inheritall="false"> <ant dir="test-framework" target="compile-test" inheritall="false">
<propertyset refid="uptodate.and.compiled.properties"/> <propertyset refid="uptodate.and.compiled.properties"/>
</ant> </ant>
<modules-crawl target="compile-test" failonerror="true"/> <modules-crawl target="compile-test"/>
</sequential> </sequential>
</target> </target>
@ -473,7 +472,7 @@
</target> </target>
<target name="test-modules"> <target name="test-modules">
<modules-crawl target="test" failonerror="true"/> <modules-crawl target="test"/>
</target> </target>
<target name="changes-to-html"> <target name="changes-to-html">
@ -492,7 +491,7 @@
<ant dir="${common.dir}/test-framework" target="jacoco" inheritAll="false"> <ant dir="${common.dir}/test-framework" target="jacoco" inheritAll="false">
<propertyset refid="uptodate.and.compiled.properties"/> <propertyset refid="uptodate.and.compiled.properties"/>
</ant> </ant>
<modules-crawl target="jacoco" failonerror="true"/> <modules-crawl target="jacoco"/>
<!-- produce aggregate report --> <!-- produce aggregate report -->
<property name="jacoco.output.dir" location="${jacoco.report.dir}/lucene-all"/> <property name="jacoco.output.dir" location="${jacoco.report.dir}/lucene-all"/>
@ -583,7 +582,7 @@
<sequential> <sequential>
<ant dir="core" target="common.-append-module-dependencies-properties" inheritall="false"/> <ant dir="core" target="common.-append-module-dependencies-properties" inheritall="false"/>
<ant dir="test-framework" target="common.-append-module-dependencies-properties" inheritall="false"/> <ant dir="test-framework" target="common.-append-module-dependencies-properties" inheritall="false"/>
<modules-crawl target="-append-module-dependencies-properties" failonerror="true"/> <modules-crawl target="-append-module-dependencies-properties"/>
</sequential> </sequential>
</target> </target>
</project> </project>

View File

@ -250,7 +250,7 @@
<!-- Solr contrib targets --> <!-- Solr contrib targets -->
<target name="test-contrib" description="Run contrib unit tests."> <target name="test-contrib" description="Run contrib unit tests.">
<contrib-crawl target="test" failonerror="true"/> <contrib-crawl target="test"/>
</target> </target>
<!-- Pitest targets --> <!-- Pitest targets -->
@ -350,7 +350,7 @@
<fileset dir="solrj" includes="build.xml"/> <fileset dir="solrj" includes="build.xml"/>
<fileset dir="test-framework" includes="build.xml"/> <fileset dir="test-framework" includes="build.xml"/>
</subant> </subant>
<contrib-crawl target="check-forbidden-apis" failonerror="true"/> <contrib-crawl target="check-forbidden-apis"/>
</target> </target>
<!-- rat sources --> <!-- rat sources -->
@ -363,7 +363,7 @@
<fileset dir="test-framework" includes="build.xml"/> <fileset dir="test-framework" includes="build.xml"/>
<fileset dir="webapp" includes="build.xml"/> <fileset dir="webapp" includes="build.xml"/>
</subant> </subant>
<contrib-crawl target="rat-sources" failonerror="true"/> <contrib-crawl target="rat-sources"/>
</target> </target>
<!-- Clean targets --> <!-- Clean targets -->
@ -426,7 +426,7 @@
<target name="dist-contrib" depends="init-dist" <target name="dist-contrib" depends="init-dist"
description="Make the contribs ready for distribution"> description="Make the contribs ready for distribution">
<contrib-crawl target="dist" failonerror="true" /> <contrib-crawl target="dist"/>
</target> </target>
<target name="prepare-release-no-sign" depends="clean, package, generate-maven-artifacts"/> <target name="prepare-release-no-sign" depends="clean, package, generate-maven-artifacts"/>