LUCENE-5322: make 'ant validate-maven-artifacts' run faster

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1540832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2013-11-11 20:21:23 +00:00
parent debb363f6e
commit c890c312e6
2 changed files with 9 additions and 6 deletions

View File

@ -165,12 +165,15 @@
</subant>
</target>
<target name="validate-maven-dependencies" depends="generate-maven-artifacts"
<target name="validate-maven-dependencies" depends="resolve"
description="Validates maven dependencies, licenses, etc.">
<subant target="-validate-maven-dependencies" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml"/>
<fileset dir="solr" includes="build.xml"/>
</subant>
<sequential>
<ant dir="lucene" inheritall="false">
<target name="-filter-pom-templates"/>
<target name="-validate-maven-dependencies"/>
</ant>
<ant dir="solr" target="-validate-maven-dependencies" inheritall="false"/>
</sequential>
</target>
<target name="run-maven-build" depends="get-maven-poms" description="Runs the Maven build using automatically generated POMs">

View File

@ -1472,7 +1472,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
</sequential>
</target>
<target name="-validate-maven-dependencies.init" depends="-filter-pom-templates">
<target name="-validate-maven-dependencies.init">
<!-- find the correct pom.xml path and assigns it to property pom.xml -->
<property name="top.level.dir" location="${common.dir}/.."/>
<pathconvert property="maven.pom.xml">