[geronimo-interceptor-3.0-spec] 11/13: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 2 22:29:58 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository geronimo-interceptor-3.0-spec.

commit 5d6b7bd13448dbc2b9c9adb31503f0ada1289104
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 2 23:47:44 2015 +0200

    Install the Maven artifacts
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 7 +++++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 43f3d9e..973c2fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 geronimo-interceptor-3.0-spec (1.0.1-2) UNRELEASED; urgency=medium
 
   * Moved the package to Git (Closes: #669298, #669418)
+  * Install the Maven artifacts
   * debian/control:
     - Removed the runtime dependency on the JRE
     - Removed the XSBC-Original-Maintainer field (Closes: #573506)
diff --git a/debian/control b/debian/control
index dc6fdfe..7f56cdb 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Chris Grzegorczyk <grze at eucalyptus.com>, Graziano Obertelli <graziano at eucalyptus.com>, Kyo Lee <kyo.lee at eucalyptus.com>, Thierry Carrez <thierry.carrez at ubuntu.com>
 Build-Depends-Indep: default-jdk
-Build-Depends: ant, debhelper (>= 9), cdbs (>= 0.4.5.3)
+Build-Depends: ant, debhelper (>= 9), cdbs (>= 0.4.5.3), maven-repo-helper
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-java/geronimo-interceptor-3.0-spec.git
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/geronimo-interceptor-3.0-spec.git
diff --git a/debian/rules b/debian/rules
index bb7a1d8..de19238 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,11 @@ DEB_ANT_ARGS         := -DartifactVersion=$(DEB_UPSTREAM_VERSION) \
                         -DtargetVersion=$(REQUIRED_JVM_VERSION)
 
 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
+	mh_installpom -plib$(DEB_SOURCE_PACKAGE)-java --no-parent pom.xml
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java --java-lib --usj-name=geronimo-interceptor-3.0-spec pom.xml build/geronimo-interceptor-3.0-spec-*.jar
+
+clean::
+	mh_clean
 
 get-orig-source:
 	echo "Getting version $(DEB_UPSTREAM_VERSION) from $(SVN)"

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



More information about the pkg-java-commits mailing list