mirror of https://github.com/apache/lucene.git
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:
parent
debb363f6e
commit
c890c312e6
13
build.xml
13
build.xml
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue