Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
jakarta-mail
jakarta-mail-build.xml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jakarta-mail-build.xml of Package jakarta-mail
<?xml version="1.0" encoding="UTF-8"?> <project name="jakarta.mail-api" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property name="project.groupId" value="jakarta.mail"/> <property name="project.artifactId" value="jakarta.mail-api"/> <property name="project.version" value="2.1.3"/> <property name="spec.version" value="2.1"/> <property name="mail.version" value="${project.version}"/> <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="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"> <fileset dir="lib"> <include name="**/*"/> </fileset> </path> <path id="build.test.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}"/> <copy todir="${build.srcDir}"> <fileset dir="${build.resourceDir}"/> </copy> <javac destdir="${build.outputDir}" nowarn="false" debug="true" 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" 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> </target> <!-- ====================================================================== --> <!-- Javadoc target --> <!-- ====================================================================== --> <target name="javadoc" description="Generates the Javadoc of the application"> <javadoc sourcepath="${build.srcDir}" packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" verbose="false" encoding="UTF-8" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="UTF-8" linksource="false" breakiterator="false" source="${compiler.source}"> <classpath refid="build.classpath"/> <header><![CDATA[<a href="https://reload4j.qos.ch"> <img src="https://reload4j.qos.ch/images/logos/reload4j.jpg" height="40"/></a>]]></header> </javadoc> </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 Mail API 2.1 Specification API"/> <attribute name="Bundle-DocURL" value="https://www.eclipse.org"/> <attribute name="Bundle-License" value="http://www.eclipse.org/legal/epl-2.0,http://www.eclipse.org/org/documents/edl-v10.php,https://www.gnu.org/software/classpath/license.html"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="Jakarta Mail API"/> <attribute name="Bundle-SymbolicName" value="jakarta.mail-api"/> <attribute name="Bundle-Vendor" value="Eclipse Foundation"/> <attribute name="Bundle-Version" value="${project.version}"/> <attribute name="Export-Package" value="jakarta.mail.event;version="${project.version}";uses:="jakarta.mail",jakarta.mail.internet;version="${project.version}";uses:="jakarta.activation,jakarta.mail",jakarta.mail.search;version="${project.version}";uses:="jakarta.mail",jakarta.mail.util;version="${project.version}";uses:="jakarta.activation,jakarta.mail.internet",jakarta.mail;version="${project.version}";uses:="jakarta.activation,jakarta.mail.event,jakarta.mail.search,jakarta.mail.util""/> <attribute name="Extension-Name" value="jakarta.mail"/> <attribute name="Implementation-Build-Id" value="false"/> <attribute name="Implementation-Title" value="Jakarta Mail API"/> <attribute name="Implementation-Vendor" value="Eclipse Foundation"/> <attribute name="Import-Package" value="jakarta.activation;version="[2.1,3)",jakarta.mail.event;version="[2.1,3)",jakarta.mail.internet;version="[2.1,3)",jakarta.mail.search;version="[2.1,3)",jakarta.mail.util;version="[2.1,3)",jakarta.mail;version="[2.1,3)""/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> <attribute name="Specification-Title" value="Jakarta Mail Specification"/> <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>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor