[plexus-cdc] 08/27: use the newest maven-debian-helper

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Aug 30 09:29:30 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository plexus-cdc.

commit 3666f5f43b36eb97508ade46290666a740770680
Author: Torsten Werner <twerner at debian.org>
Date:   Sun Dec 14 20:34:29 2008 +0000

    use the newest maven-debian-helper
---
 debian/patches/pom.diff | 13 +++----------
 debian/rules            |  9 ---------
 2 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/debian/patches/pom.diff b/debian/patches/pom.diff
index ff7ade6..1a3b5b0 100644
--- a/debian/patches/pom.diff
+++ b/debian/patches/pom.diff
@@ -2,8 +2,8 @@ some temporary workarounds...
 
 Index: plexus-cdc-1.0~alpha14/pom.xml
 ===================================================================
---- plexus-cdc-1.0~alpha14.orig/pom.xml	2008-12-12 13:01:05.000000000 +0100
-+++ plexus-cdc-1.0~alpha14/pom.xml	2008-12-12 13:04:41.000000000 +0100
+--- plexus-cdc-1.0~alpha14.orig/pom.xml	2008-07-25 01:56:09.000000000 +0200
++++ plexus-cdc-1.0~alpha14/pom.xml	2008-12-14 21:31:42.000000000 +0100
 @@ -21,6 +21,8 @@
              <groupId>org.slf4j</groupId>
              <artifactId>slf4j-api</artifactId>
@@ -13,7 +13,7 @@ Index: plexus-cdc-1.0~alpha14/pom.xml
          </dependency>
          <!--
          NOTE: When QDox 1.7 is fuly cooked should update this and consider using it to provide source-level
-@@ -36,12 +38,30 @@
+@@ -36,12 +38,23 @@
              <groupId>com.thoughtworks.qdox</groupId>
              <artifactId>qdox</artifactId>
              <version>1.6.3</version>
@@ -29,13 +29,6 @@ Index: plexus-cdc-1.0~alpha14/pom.xml
          </dependency>
 +	<dependency>
 +	  <groupId>org.codehaus.plexus</groupId>
-+	  <artifactId>plexus-utils</artifactId>
-+	  <version>1.5.6</version>
-+	  <scope>system</scope>
-+	  <systemPath>/usr/share/java/plexus-utils.jar</systemPath>
-+	</dependency>
-+	<dependency>
-+	  <groupId>org.codehaus.plexus</groupId>
 +	  <artifactId>plexus-container-default</artifactId>
 +	  <version>1.0-alpha-9-stable-1</version>
 +	  <scope>system</scope>
diff --git a/debian/rules b/debian/rules
index 392f065..84d441f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,16 +4,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/maven.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-PACKAGE   := $(DEB_SOURCE_PACKAGE)
-VERSION   := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's,~alpha,-alpha-,')
 JAVA_HOME := /usr/lib/jvm/java-6-openjdk
 
 get-orig-source:
 	sh -e debian/orig-tar.sh
-
-DEST := $(DEB_MAVEN_REPO)/org/codehaus/plexus
-
-binary-post-install/lib$(PACKAGE)-java::
-	dh_install target/*.jar $(DEST)/$(PACKAGE)/$(VERSION)/
-	install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
-	dh_link $(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-cdc.git



More information about the pkg-java-commits mailing list