LUCENE-2609: distribute the core tests, as they can be useful downstream to people

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2011-01-26 20:55:49 +00:00
parent 3da5bd8728
commit d494562133
2 changed files with 8 additions and 2 deletions

View File

@ -48,7 +48,7 @@
excludes="contrib/db/*/lib/,contrib/*/ext-libs/,src/site/build/"
/>
<patternset id="binary.build.dist.patterns"
includes="${final.name}.jar,docs/,contrib/*/*.jar,contrib/*/*.war, contrib/*/*/*.jar"
includes="${final.name}*.jar,docs/,contrib/*/*.jar,contrib/*/*.war, contrib/*/*/*.jar"
/>
<patternset id="binary.root.dist.patterns"
includes="docs/,*.txt,contrib/*/README*,**/CHANGES.txt"
@ -259,7 +259,7 @@
<!-- ================================================================== -->
<!-- -->
<!-- ================================================================== -->
<target name="package" depends="jar-core, javadocs, build-contrib, init-dist, changes-to-html"/>
<target name="package" depends="jar-core, jar-core-test, javadocs, build-contrib, init-dist, changes-to-html"/>
<target name="nightly" depends="test, package-tgz">
</target>
@ -401,6 +401,8 @@
classifier="sources"/>
<attach file="${build.dir}/${final.name}-javadoc.jar"
classifier="javadoc"/>
<attach file="${build.dir}/${final.name}-tests.jar"
classifier="tests"/>
</artifact-attachments>
</m2-deploy>
<contrib-crawl target="dist-maven"/>

View File

@ -308,6 +308,10 @@
<jarify/>
</target>
<target name="jar-core-test" depends="compile-test">
<jarify basedir="${build.dir}/classes/test" destfile="${build.dir}/${final.name}-tests.jar"/>
</target>
<target name="maven.ant.tasks-check">
<fail unless="maven.ant.tasks.present">
##################################################################