179 lines
9.3 KiB
XML
179 lines
9.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="jakarta.xml.ws-api" default="package" basedir=".">
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Build environment properties -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<property file="build.properties"/>
|
|
|
|
<property name="project.groupId" value="jakarta.xml.ws"/>
|
|
<property name="project.artifactId" value="jakarta.xml.ws-api"/>
|
|
<property name="project.version" value="4.0.0"/>
|
|
|
|
<property name="spec.version" value="4.0"/>
|
|
|
|
<property name="current.year" value="2022"/>
|
|
|
|
<property name="compiler.release" value="8"/>
|
|
<property name="compiler.source" value="1.${compiler.release}"/>
|
|
<property name="compiler.target" value="${compiler.source}"/>
|
|
|
|
<property name="build.finalName" value="${project.artifactId}-${project.version}"/>
|
|
<property name="build.dir" value="target"/>
|
|
<property name="build.outputDir" value="${build.dir}/classes"/>
|
|
<property name="build.srcDir" value="src/main/java"/>
|
|
<property name="build.resourceDir" value="src/main/resources"/>
|
|
<property name="build.javadocDir" value="src/main/javadoc"/>
|
|
|
|
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Defining classpaths -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<path id="build.classpath">
|
|
<fileset dir="lib">
|
|
<include name="**/*"/>
|
|
</fileset>
|
|
</path>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Cleaning up target -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<target name="clean" description="Clean the output directory">
|
|
<delete dir="${build.dir}"/>
|
|
</target>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Compilation target -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<target name="compile" description="Compile the code">
|
|
<mkdir dir="${build.outputDir}"/>
|
|
<javac destdir="${build.outputDir}"
|
|
nowarn="false"
|
|
debug="true"
|
|
encoding="utf-8"
|
|
optimize="false"
|
|
deprecation="true"
|
|
release="${compiler.release}"
|
|
target="${compiler.target}"
|
|
verbose="false"
|
|
fork="false"
|
|
source="${compiler.source}">
|
|
<src>
|
|
<pathelement location="${build.srcDir}"/>
|
|
</src>
|
|
<exclude name="**/module-info.java"/>
|
|
<classpath refid="build.classpath"/>
|
|
</javac>
|
|
<javac destdir="${build.outputDir}"
|
|
nowarn="false"
|
|
debug="true"
|
|
encoding="utf-8"
|
|
optimize="false"
|
|
deprecation="true"
|
|
release="9"
|
|
target="9"
|
|
verbose="false"
|
|
fork="false"
|
|
source="9">
|
|
<src>
|
|
<pathelement location="${build.srcDir}"/>
|
|
</src>
|
|
<include name="**/module-info.java"/>
|
|
<classpath refid="build.classpath"/>
|
|
<modulepath refid="build.classpath"/>
|
|
</javac>
|
|
<copy todir="${build.outputDir}">
|
|
<fileset dir="${build.resourceDir}"/>
|
|
</copy>
|
|
</target>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Javadoc target -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<target name="javadoc" description="Generates the Javadoc of the application">
|
|
<javadoc sourcepath="${build.srcDir}"
|
|
packagenames="*"
|
|
destdir="${reporting.outputDirectory}/apidocs"
|
|
access="protected"
|
|
source="${compiler.source}"
|
|
encoding="utf-8"
|
|
verbose="false"
|
|
version="true"
|
|
use="true"
|
|
author="true"
|
|
splitindex="false"
|
|
windowtitle="Jakarta XML Web Services API documentation"
|
|
nodeprecated="false"
|
|
nodeprecatedlist="false"
|
|
notree="false"
|
|
noindex="false"
|
|
nohelp="false"
|
|
nonavbar="false"
|
|
serialwarn="false"
|
|
charset="ISO-8859-1"
|
|
linksource="false"
|
|
breakiterator="false">
|
|
<doctitle>Jakarta XML Web Services API documentation</doctitle>
|
|
<header>Jakarta XML Web Services<br>v${spec.version}</header>
|
|
<bottom>Comments to: <a href="mailto:jaxws-dev@eclipse.org">jaxws-dev@eclipse.org</a>.<br>
|
|
Copyright &#169; 2019, ${current.year} Eclipse Foundation. All rights reserved.<br>
|
|
Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.</bottom>
|
|
<tag name="specdefault"
|
|
description="Default:"/>
|
|
<classpath refid="build.classpath"/>
|
|
</javadoc>
|
|
<copy todir="${reporting.outputDirectory}/apidocs">
|
|
<fileset dir="${build.javadocDir}"/>
|
|
</copy>
|
|
</target>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- Package target -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<target name="package" depends="compile" description="Package the application">
|
|
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
|
compress="true"
|
|
index="false"
|
|
basedir="${build.outputDir}"
|
|
excludes="**/package.html">
|
|
<manifest>
|
|
<attribute name="Bundle-Description" value="Jakarta XML Web Services API ${spec.version} Specification"/>
|
|
<attribute name="Bundle-DocURL" value="https://www.eclipse.org"/>
|
|
<attribute name="Bundle-License" value="http://www.eclipse.org/org/documents/edl-v10.php"/>
|
|
<attribute name="Bundle-ManifestVersion" value="2"/>
|
|
<attribute name="Bundle-Name" value="Jakarta XML Web Services API"/>
|
|
<attribute name="Bundle-SymbolicName" value="${project.artifactId}"/>
|
|
<attribute name="Bundle-Vendor" value="Eclipse Foundation"/>
|
|
<attribute name="Bundle-Version" value="${project.version}"/>
|
|
<attribute name="DynamicImport-Package" value="org.glassfish.hk2.osgiresourcelocator"/>
|
|
<attribute name="Export-Package" value="jakarta.jws.soap;version="${project.version}",jakarta.jws;version="${project.version}",jakarta.xml.ws.handler.soap;uses:="jakarta.xml.bind,jakarta.xml.soap,jakarta.xml.ws.handler,javax.xml.namespace";version="${project.version}",jakarta.xml.ws.handler;uses:="jakarta.xml.ws,javax.xml.namespace";version="${project.version}",jakarta.xml.ws.http;uses:="jakarta.xml.ws";version="${project.version}",jakarta.xml.ws.soap;uses:="jakarta.xml.soap,jakarta.xml.ws,jakarta.xml.ws.spi";version="${project.version}",jakarta.xml.ws.spi.http;version="${project.version}",jakarta.xml.ws.spi;uses:="jakarta.xml.bind,jakarta.xml.ws,jakarta.xml.ws.handler,jakarta.xml.ws.wsaddressing,javax.xml.namespace,javax.xml.transform,org.w3c.dom";version="${project.version}",jakarta.xml.ws.wsaddressing;uses:="jakarta.xml.bind.annotation,jakarta.xml.ws,javax.xml.namespace,javax.xml.transform,org.w3c.dom";version="${project.version}",jakarta.xml.ws;uses:="jakarta.xml.bind,jakarta.xml.bind.annotation,jakarta.xml.ws.handler,jakarta.xml.ws.spi,jakarta.xml.ws.spi.http,javax.xml.namespace,javax.xml.transform,org.w3c.dom";version="${project.version}""/>
|
|
<attribute name="Extension-Name" value="jakarta.xml.ws"/>
|
|
<attribute name="Implementation-Vendor" value="Eclipse Foundation"/>
|
|
<attribute name="Implementation-Version" value="${project.version}"/>
|
|
<attribute name="Import-Package" value="jakarta.xml.bind.annotation,jakarta.xml.bind,jakarta.xml.soap,jakarta.xml.ws,jakarta.xml.ws.handler,jakarta.xml.ws.spi,jakarta.xml.ws.spi.http,jakarta.xml.ws.wsaddressing,java.io,java.lang,java.lang.annotation,java.lang.invoke,java.lang.reflect,java.net,java.security,java.util,java.util.concurrent,java.util.logging,javax.xml.namespace,javax.xml.transform,javax.xml.transform.stream,org.w3c.dom"/>
|
|
<attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/>
|
|
<attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
|
|
<attribute name="JavaPackages-Version" value="${project.version}"/>
|
|
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
|
<attribute name="Specification-Vendor" value="Eclipse Foundation"/>
|
|
<attribute name="Specification-Version" value="${spec.version}"/>
|
|
</manifest>
|
|
</jar>
|
|
</target>
|
|
|
|
<!-- ====================================================================== -->
|
|
<!-- A dummy target for the package named after the type it creates -->
|
|
<!-- ====================================================================== -->
|
|
|
|
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
|
|
|
</project>
|