[geronimo-j2ee-connector-1.5-spec] 07/09: Install the Maven artifacts (Closes: #729609)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Dec 1 10:11:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository geronimo-j2ee-connector-1.5-spec.

commit 1753c0437a634132a056905e5fe565f8d73fa710
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Nov 27 13:34:11 2014 +0100

    Install the Maven artifacts (Closes: #729609)
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 8 +++++---
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 48d18f8..4888d16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 geronimo-j2ee-connector-1.5-spec (2.0.0-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts (Closes: #729609)
   * Maintenance transferred to the Debian Java Maintainers
   * Standards-Version updated to 3.9.6 (no changes)
   * Removed the deprecated DM-Upload-Allowed field
diff --git a/debian/control b/debian/control
index 83a4157..ec00914 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
 Uploaders: Chris Grzegorczyk <grze at eucalyptus.com>, Graziano Obertelli <graziano at eucalyptus.com>, Kyo Lee <kyo.lee at eucalyptus.com>
 XSBC-Original-Maintainer: Thierry Carrez <thierry.carrez at ubuntu.com>
 Build-Depends-Indep: default-jdk, junit
-Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Build-Depends: ant-optional, debhelper (>= 5), cdbs (>= 0.4.5.3), maven-repo-helper
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-java/geronimo-j2ee-connector-1.5-spec.git
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/geronimo-j2ee-connector-1.5-spec.git
diff --git a/debian/rules b/debian/rules
index 6be21c5..84fef4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,9 @@ get-orig-source:
 		tar czf ../../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
 	rm -rf orig_tmp
 
-binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
-	dh_install -plib$(DEB_SOURCE_PACKAGE)-java build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+clean::
+	mh_clean
 
+binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java --java-lib --usj-name=geronimo-j2ee-connector-1.5-spec pom.xml build/geronimo-j2ee-connector-1.5-spec-$(DEB_UPSTREAM_VERSION).jar
+	mh_installpom -plib$(DEB_SOURCE_PACKAGE)-java --has-package-version --no-parent pom.xml

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-j2ee-connector-1.5-spec.git



More information about the pkg-java-commits mailing list