Fridrich Strba 2022-10-20 06:53:59 +00:00 committed by Git OBS Bridge
parent c9ea8ee46e
commit 4220cb0318

View File

@ -19,9 +19,9 @@
<property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/>
<property name="build.dir" value="target"/> <property name="build.dir" value="target"/>
<property name="build.outputDir" value="${build.dir}/classes"/> <property name="build.outputDir" value="${build.dir}/classes"/>
<property name="build.srcDir" value="src/main/java"/> <property name="build.srcDir.0" value="src/main/java"/>
<property name="build.javadocDir" value="src/main/javadoc"/> <property name="build.javadocDir.0" value="src/main/javadoc"/>
<property name="build.resourceDir" value="src/main/java"/> <property name="build.resourceDir.0" value="src/main/java"/>
<property name="build.resourceDir.1" value="."/> <property name="build.resourceDir.1" value="."/>
<property name="compiler.source" value="1.8"/> <property name="compiler.source" value="1.8"/>
@ -64,12 +64,12 @@
fork="false" fork="false"
source="${compiler.source}"> source="${compiler.source}">
<src> <src>
<pathelement location="${build.srcDir}"/> <pathelement location="${build.srcDir.0}"/>
</src> </src>
<classpath refid="build.classpath"/> <classpath refid="build.classpath"/>
</javac> </javac>
<copy todir="${build.outputDir}"> <copy todir="${build.outputDir}">
<fileset dir="${build.resourceDir}"> <fileset dir="${build.resourceDir.0}">
<include name="**/*.properties"/> <include name="**/*.properties"/>
</fileset> </fileset>
</copy> </copy>
@ -88,7 +88,7 @@
<!-- ====================================================================== --> <!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application"> <target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${build.srcDir}" <javadoc sourcepath="${build.srcDir.0}"
packagenames="*" packagenames="*"
destdir="${reporting.outputDirectory}/apidocs" destdir="${reporting.outputDirectory}/apidocs"
access="protected" access="protected"
@ -108,7 +108,7 @@
source="${compiler.source}" source="${compiler.source}"
encoding="${project.build.sourceEncoding}" encoding="${project.build.sourceEncoding}"
linksource="false" linksource="false"
overview="${build.javadocDir}/overview.html" overview="${build.javadocDir.0}/overview.html"
doctitle="${project.name} ${project.version} API" doctitle="${project.name} ${project.version} API"
windowtitle="${project.name} ${project.version} API" windowtitle="${project.name} ${project.version} API"
breakiterator="false"> breakiterator="false">
@ -131,6 +131,7 @@
<attribute name="Bundle-Description" value="${project.description}"/> <attribute name="Bundle-Description" value="${project.description}"/>
<attribute name="Bundle-DocURL" value="https://jsoup.org/"/> <attribute name="Bundle-DocURL" value="https://jsoup.org/"/>
<attribute name="Bundle-License" value="https://jsoup.org/license"/> <attribute name="Bundle-License" value="https://jsoup.org/license"/>
<attribute name="Bundle-ManifestVersion" value="2"/>
<attribute name="Bundle-Name" value="${project.name}"/> <attribute name="Bundle-Name" value="${project.name}"/>
<attribute name="Bundle-SymbolicName" value="org.jsoup"/> <attribute name="Bundle-SymbolicName" value="org.jsoup"/>
<attribute name="Bundle-Vendor" value="${project.organization.name}"/> <attribute name="Bundle-Vendor" value="${project.organization.name}"/>