Build: Fix up javadoc targets in sub-build.xml files for maven central

This commit is contained in:
zzz
2019-04-07 18:09:04 +00:00
parent cca68f9b79
commit 6cc39a2672
7 changed files with 171 additions and 23 deletions

View File

@@ -135,7 +135,39 @@
<target name="javadoc">
<mkdir dir="./build" />
<mkdir dir="./build/javadoc" />
<javadoc sourcepath="./src:./test/junit" destdir="./build/javadoc" packagenames="*" use="true" splitindex="true" windowtitle="I2P SDK" />
<javadoc access="package"
source="${javac.version}"
destdir="./build/javadoc"
packagenames="*"
use="true"
splitindex="true"
failonerror="true"
additionalparam="-notimestamp"
doctitle="I2P Javadocs for Release ${release.number} Build ${i2p.build.number}${build.extra}"
windowtitle="I2P Anonymous Network - Java Documentation - Version ${release.number}">
<group title="Core SDK (i2p.jar)" packages="*" />
<sourcepath>
<pathelement location="./src" />
<pathelement location="./test/junit" />
</sourcepath>
<classpath>
<pathelement location="${hamcrest.home}/hamcrest-core.jar" />
<pathelement location="${hamcrest.home}/hamcrest-library.jar" />
<pathelement location="${hamcrest.home}/hamcrest-integration.jar" />
<pathelement location="${hamcrest.home}/hamcrest-all.jar" />
<pathelement location="${junit.home}/junit4.jar" />
<!-- following are only for debian builds -->
<pathelement location="build/libintl.jar" />
<pathelement location="build/gnu-getopt.jar" />
<pathelement location="build/json-simple.jar" />
</classpath>
<!-- These variables are stored in build.properties.
End-users can override by creating the file override.properties -->
<link offline="true" href="${javasedocs.url}" packagelistLoc="../../installer/resources/package-lists/java/" />
<link offline="true" href="${javaeedocs.url}" packagelistLoc="../../installer/resources/package-lists/javaee/" />
<link offline="true" href="${jettydocs.url}" packagelistLoc="../../installer/resources/package-lists/jetty/" />
<link offline="true" href="${wrapperdocs.url}" packagelistLoc="../../installer/resources/package-lists/wrapper/" />
</javadoc>
</target>
<!-- for Maven Central -->