This is an automated email from the git hooks/post-receive script. tmancill pushed a commit to branch master in repository jargs.
commit ca66b8219a3bf53b0e7cd9e4fee01082e7136ad3 Author: tony mancill <[email protected]> Date: Fri Feb 28 21:52:51 2014 -0800 patch for 740368 - add maven artifacts --- debian/control | 2 +- debian/libjargs-java.poms | 28 ++++++++++++++++++++++++++++ debian/pom.xml | 11 +++++++++++ debian/rules | 7 +++++++ 4 files changed, 47 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 348ed1d..a197c6f 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Dominik Smatana <[email protected]> Build-Depends: debhelper (>= 9), cdbs, default-jdk, ant, javahelper (>= 0.32~) -Build-Depends-Indep: junit, default-jdk-doc +Build-Depends-Indep: junit, default-jdk-doc, maven-repo-helper Standards-Version: 3.9.5 Homepage: http://jargs.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/pkg-java/jargs.git diff --git a/debian/libjargs-java.poms b/debian/libjargs-java.poms new file mode 100644 index 0000000..b9f77cc --- /dev/null +++ b/debian/libjargs-java.poms @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +debian/pom.xml --has-package-version diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..37373ba --- /dev/null +++ b/debian/pom.xml @@ -0,0 +1,11 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>jargs</groupId> + <artifactId>jargs</artifactId> + <packaging>jar</packaging> + <version>1.0</version> + <name>Command-line argument parsing for Java</name> + <url>http://jargs.sourceforge.net/</url> + <description>provides a convenient, compact, pre-packaged and comprehensively documented suite of command line option parsers for the use of Java programmers.</description> + +</project> diff --git a/debian/rules b/debian/rules index c06d007..e070db0 100755 --- a/debian/rules +++ b/debian/rules @@ -20,3 +20,10 @@ DEB_ANT_BUILD_TARGET := build install/libjargs-java:: jh_installlibs -p$(cdbs_curpkg) --upstream-version=$(DEB_UPSTREAM_VERSION) lib/jargs.jar + +binary-post-install/libjargs-java:: + mh_installpoms -plibjargs-java + mh_installjar -plibjargs-java -l debian/pom.xml lib/jargs.jar + +clean:: + mh_clean -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jargs.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

