running 'mvn generate-maven-artifacts' will put all the files in the same directory (dist/maven)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998771 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2010-09-20 03:58:23 +00:00
parent 3944f43cc4
commit 6c6a675a4a
1 changed files with 5 additions and 1 deletions

View File

@ -38,10 +38,13 @@
</sequential>
</target>
<!-- run with -Dmaven.dist.dir=maven to put all the artifacts in one place -->
<target name="generate-maven-artifacts" description="Generate Maven Artifacts for Lucene and Solr">
<property name="maven.dist.dir" location="dist/maven" />
<mkdir dir="${maven.dist.dir}" />
<sequential>
<subant target="generate-maven-artifacts" inheritall="false" failonerror="true">
<property name="maven.dist.dir" location="${maven.dist.dir}" />
<fileset dir="lucene" includes="build.xml" />
<fileset dir="modules" includes="build.xml" />
<fileset dir="solr" includes="build.xml" />
@ -50,6 +53,7 @@
</target>
<target name="clean" description="Clean Lucene and Solr">
<delete dir="dist" />
<sequential>
<subant target="clean" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />