Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
apache-commons-codec
apache-commons-codec-build.xml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apache-commons-codec-build.xml of Package apache-commons-codec
<?xml version="1.0" encoding="UTF-8"?> <project name="commons-codec" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="project.groupId" value="commons-codec"/> <property name="project.artifactId" value="commons-codec"/> <property name="project.version" value="1.17.1"/> <property name="project.name" value="Apache Commons Codec"/> <property name="project.description" value="The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities."/> <property name="project.organization.name" value="The Apache Software Foundation"/> <property name="project.organization.url" value="http://commons.apache.org/proper/commons-codec/"/> <property name="bundle.version" value="${project.version}.0"/> <property name="bundle.symbolicName" value="org.apache.commons.codec"/> <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.0" value="src/main/resources"/> <property name="build.resourceDir.1" value="."/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Defining classpaths --> <!-- ====================================================================== --> <path id="build.classpath"> <fileset dir="lib"> <include name="**/*.jar"/> </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}" encoding="UTF-8" nowarn="false" debug="true" optimize="false" deprecation="true" target="${compiler.target}" release="${compiler.release}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir}"/> </src> <classpath refid="build.classpath"/> </javac> <copy todir="${build.outputDir}"> <fileset dir="${build.resourceDir.0}"/> </copy> <mkdir dir="${build.outputDir}/META-INF"/> <copy todir="${build.outputDir}/META-INF"> <fileset dir="${build.resourceDir.1}"> <include name="NOTICE.txt"/> <include name="LICENSE.txt"/> </fileset> </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" 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" docencoding="UTF-8" source="${compiler.source}" linksource="true" breakiterator="false"> </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="Automatic-Module-Name" value="${bundle.symbolicName}"/> <attribute name="Bundle-Description" value="${project.description}"/> <attribute name="Bundle-DocURL" value="${project.organization.url}"/> <attribute name="Bundle-License" value="https://www.apache.org/licenses/LICENSE-2.0.txt"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="${project.name}"/> <attribute name="Bundle-SymbolicName" value="${bundle.symbolicName}"/> <attribute name="Bundle-Vendor" value="${project.organization.name}"/> <attribute name="Bundle-Version" value="${bundle.version}"/> <attribute name="Export-Package" value="org.apache.commons.codec;version="${project.version}",org.apache.commons.codec.binary;version="${project.version}",org.apache.commons.codec.cli;version="${project.version}",org.apache.commons.codec.digest;version="${project.version}",org.apache.commons.codec.language;version="${project.version}",org.apache.commons.codec.language.bm;version="${project.version}",org.apache.commons.codec.net;version="${project.version}""/> <attribute name="Implementation-Title" value="${project.name}"/> <attribute name="Implementation-URL" value="${project.organization.url}"/> <attribute name="Implementation-Vendor" value="${project.organization.name}"/> <attribute name="Implementation-Vendor-Id" value="${project.groupId}"/> <attribute name="Implementation-Version" value="${project.version}"/> <attribute name="Import-Package" value="javax.crypto,javax.crypto.spec"/> <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-Title" value="${project.name}"/> <attribute name="Specification-Vendor" value="${project.organization.name}"/> <attribute name="Specification-Version" value="${project.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