Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
beust-jcommander
beust-jcommander-build.xml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File beust-jcommander-build.xml of Package beust-jcommander
<?xml version="1.0" encoding="UTF-8"?> <project name="jcommander-from-maven" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="project.groupId" value="com.beust"/> <property name="project.artifactId" value="jcommander"/> <property name="project.name" value="JCommander"/> <property name="project.version" value="@VERSION@"/> <property name="project.description" value="A Java framework to parse command line options with annotations."/> <property name="project.build.sourceEncoding" value="UTF-8"/> <property name="bundle.version" value="${project.version}.0"/> <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="compiler.release" value="8"/> <property name="compiler.source" value="1.${compiler.release}"/> <property name="compiler.target" value="${compiler.source}"/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- 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="${project.build.sourceEncoding}" nowarn="false" debug="true" optimize="false" deprecation="true" release="${compiler.release}" verbose="false" fork="false"> <src> <pathelement location="${build.srcDir}"/> </src> </javac> <javac destdir="${build.outputDir}" encoding="${project.build.sourceEncoding}" nowarn="false" debug="true" optimize="false" deprecation="true" release="9" verbose="false" fork="false"> <modulepath> <pathelement location="${build.outputDir}"/> </modulepath> <src> <pathelement location="."/> </src> <include name="**/module-info.java"/> </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" encoding="${project.build.sourceEncoding}" source="${compiler.source}" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" linksource="false" breakiterator="false"/> </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-Name" value="${project.name}"/> <attribute name="Bundle-SymbolicName" value="${project.groupId}.${project.artifactId}"/> <attribute name="Bundle-Description" value="${project.description}"/> <attribute name="Bundle-Version" value="${bundle.version}"/> <attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/> <attribute name="JavaPackages-GroupId" value="${project.groupId}"/> <attribute name="JavaPackages-Version" value="${project.version}"/> <attribute name="Export-Package" value="com.beust.jcommander;uses:="com.beust.jcommander.converters,com.beust.jcommander.validators";version="${bundle.version}",com.beust.jcommander.converters;uses:="com.beust.jcommander";version="${bundle.version}",com.beust.jcommander.defaultprovider;uses:="com.beust.jcommander";version="${bundle.version}",com.beust.jcommander.validators;uses:="com.beust.jcommander";version="${bundle.version}""/> <attribute name="Import-Package" value="com.beust.jcommander.validators"/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> </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