packaging: exclude redundant maven javadoc

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080970 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2011-03-12 18:46:10 +00:00
parent df907f97de
commit 71f4c3247c
1 changed files with 8 additions and 5 deletions

View File

@ -247,7 +247,7 @@
failonerror="true"/>
</target>
<target name="javadoc" depends="javadoc-contrib, javadoc-solrj, javadoc-all">
<target name="javadoc" depends="javadoc-core, javadoc-contrib, javadoc-solrj, javadoc-all">
</target>
<target name="stub-factories" depends="dist-jar"
@ -636,7 +636,7 @@
</war>
</target>
<target name="dist-src" description="Creates the Solr source distribution files"
<target name="dist-src" description="Creates the Solr source distribution files for maven"
depends="make-manifest">
<mkdir dir="${dist}" />
@ -667,7 +667,7 @@
</solr-jar>
</target>
<target name="dist-javadoc" description="Creates the Solr javadoc distribution files"
<target name="dist-javadoc" description="Creates the Solr javadoc distribution files for maven"
depends="make-manifest, javadoc">
<mkdir dir="${dist}" />
@ -881,8 +881,11 @@
prefix="${fullnamever}"
includes="dist/*.jar dist/*.war dist/solrj-lib/*"
excludes="**/*.tgz **/*.zip **/*.md5 **/*src*.jar **/*docs*.jar" />
<tarfileset dir="${build.docs}"
prefix="${fullnamever}/docs/" />
<!-- hack: the javadocs are built twice since maven needs separate packages... exclude those -->
<tarfileset dir="${build.docs}"
prefix="${fullnamever}/docs/"
excludes="api/solr/** api/contrib-*/**"
/>
</tar>
<solr-checksum file="${package.dir}/${fullnamever}.tgz"/>