mirror of https://github.com/apache/cassandra
condition javadoc installation via ant mvn-install
This commit is contained in:
parent
e1823e0e22
commit
ff5a619551
10
build.xml
10
build.xml
|
|
@ -2059,7 +2059,7 @@
|
|||
|
||||
<!-- Installs artifacts to local Maven repository -->
|
||||
<target name="mvn-install"
|
||||
depends="jar,sources-jar,javadoc-jar"
|
||||
depends="jar,sources-jar,javadoc-jar,install-javadoc"
|
||||
description="Installs the artifacts in the Maven Local Repository">
|
||||
|
||||
<!-- the parent -->
|
||||
|
|
@ -2070,12 +2070,16 @@
|
|||
<!-- the cassandra-all jar -->
|
||||
<install pomFile="${build.dir}/${final.name}.pom"
|
||||
file="${build.dir}/${final.name}.jar"/>
|
||||
|
||||
<install pomFile="${build.dir}/${final.name}.pom"
|
||||
file="${build.dir}/${final.name}-sources.jar"
|
||||
classifier="sources"/>
|
||||
</target>
|
||||
|
||||
<target name="install-javadoc" unless="no-javadoc">
|
||||
<install pomFile="${build.dir}/${final.name}.pom"
|
||||
file="${build.dir}/${final.name}-javadoc.jar"
|
||||
classifier="javadoc"/>
|
||||
file="${build.dir}/${final.name}-sources.jar"
|
||||
classifier="sources"/>
|
||||
</target>
|
||||
|
||||
<!-- Publish artifacts to remote Maven repository -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue