tags 581883 +patch
thanks

Hello Chris,

attached a patch to install the POM file with the maven-repo-helper.

Thanks and best regards,
Matthias

From: Matthias Schmitz <matth...@sigxcpu.org>
Date: Sun, 23 May 2010 01:36:27 +0200
Subject: [PATCH] Install POM file with maven-repo-helper.

---
 debian/changelog                          |    7 +++++++
 debian/control                            |    2 +-
 debian/libgeronimo-jms-1.1-spec-java.poms |    1 +
 debian/rules                              |    4 ++--
 4 files changed, 11 insertions(+), 3 deletions(-)
 create mode 100644 debian/libgeronimo-jms-1.1-spec-java.poms

diff --git a/debian/changelog b/debian/changelog
index d122ea2..8d39902 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+geronimo-jms-1.1-spec (1.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Install POM file with maven-repo-helper.
+
+ -- Matthias Schmitz <matth...@sigxcpu.org>  Sun, 23 May 2010 01:34:39 +0200
+
 geronimo-jms-1.1-spec (1.1-1) unstable; urgency=low
 
   * Port package to pkg-java based largely on existing Ubuntu package
diff --git a/debian/control b/debian/control
index 95ad510..83d2a9b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Chris Grzegorczyk <g...@eucalyptus.com>
 DM-Upload-Allowed: yes
 Uploaders: Graziano Obertelli <grazi...@eucalyptus.com>, Kyo Lee <kyo....@eucalyptus.com>
 XSBC-Original-Maintainer: Thierry Carrez <thierry.car...@ubuntu.com>
-Build-Depends-Indep: default-jdk
+Build-Depends-Indep: default-jdk, maven-repo-helper
 Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
 Standards-Version: 3.8.3
 Vcs-Svn: http://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jms_1.1_spec
diff --git a/debian/libgeronimo-jms-1.1-spec-java.poms b/debian/libgeronimo-jms-1.1-spec-java.poms
new file mode 100644
index 0000000..d4f7111
--- /dev/null
+++ b/debian/libgeronimo-jms-1.1-spec-java.poms
@@ -0,0 +1 @@
+pom.xml
diff --git a/debian/rules b/debian/rules
index efaa910..4daa271 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,6 @@ get-orig-source:
 	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
+	mh_installpoms -plib$(DEB_SOURCE_PACKAGE)-java
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java -l pom.xml build/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
 
-- 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to