[pkg-java] r15024 - trunk/ant-contrib/debian
Torsten Werner
twerner at alioth.debian.org
Sat Sep 24 22:20:26 UTC 2011
Author: twerner
Date: 2011-09-24 22:20:26 +0000 (Sat, 24 Sep 2011)
New Revision: 15024
Added:
trunk/ant-contrib/debian/ant-contrib.poms
Modified:
trunk/ant-contrib/debian/changelog
trunk/ant-contrib/debian/control
trunk/ant-contrib/debian/rules
Log:
Install pom file with maven-repo-helper.
Added: trunk/ant-contrib/debian/ant-contrib.poms
===================================================================
--- trunk/ant-contrib/debian/ant-contrib.poms (rev 0)
+++ trunk/ant-contrib/debian/ant-contrib.poms 2011-09-24 22:20:26 UTC (rev 15024)
@@ -0,0 +1,26 @@
+# 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 or
+# --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
+# --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.
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
+# temporarily for certain artifacts such as Javadoc jars.
+#
+pom.xml --has-package-version
Modified: trunk/ant-contrib/debian/changelog
===================================================================
--- trunk/ant-contrib/debian/changelog 2011-09-24 21:58:22 UTC (rev 15023)
+++ trunk/ant-contrib/debian/changelog 2011-09-24 22:20:26 UTC (rev 15024)
@@ -1,10 +1,10 @@
ant-contrib (1.0~b3+svn177-4) unstable; urgency=low
- UNRELEASED
* Team upload.
* Really switch to default-jdk. (Closes: #642748)
+ * Install pom file with maven-repo-helper.
- -- Torsten Werner <twerner at debian.org> Sat, 24 Sep 2011 23:47:40 +0200
+ -- Torsten Werner <twerner at debian.org> Sun, 25 Sep 2011 00:16:39 +0200
ant-contrib (1.0~b3+svn177-3) unstable; urgency=low
Modified: trunk/ant-contrib/debian/control
===================================================================
--- trunk/ant-contrib/debian/control 2011-09-24 21:58:22 UTC (rev 15023)
+++ trunk/ant-contrib/debian/control 2011-09-24 22:20:26 UTC (rev 15024)
@@ -7,7 +7,7 @@
Build-Depends: cdbs, debhelper (>= 7), ant, default-jdk
Build-Depends-Indep: ant-optional, ivy (>= 2), junit, libbcel-java,
libcommons-cli-java, libcommons-codec-java, libcommons-httpclient-java,
- libcommons-logging-java, liboro-java, libxerces2-java
+ libcommons-logging-java, liboro-java, libxerces2-java, maven-repo-helper
Standards-Version: 3.9.2
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/ant-contrib
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/ant-contrib
Modified: trunk/ant-contrib/debian/rules
===================================================================
--- trunk/ant-contrib/debian/rules 2011-09-24 21:58:22 UTC (rev 15023)
+++ trunk/ant-contrib/debian/rules 2011-09-24 22:20:26 UTC (rev 15024)
@@ -21,5 +21,5 @@
oro
install/ant-contrib::
- dh_install target/$(PACKAGE)-$(VERSION).jar usr/share/java
- dh_link usr/share/java/$(PACKAGE)-$(VERSION).jar usr/share/java/$(PACKAGE).jar
+ mh_installpoms -pant-contrib
+ mh_installjar -pant-contrib -l pom.xml target/$(PACKAGE)-$(VERSION).jar
More information about the pkg-java-commits
mailing list