[trove] 27/28: Install the Maven artifacts (Closes: #708441)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Apr 18 16:54:19 BST 2018


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

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

commit 58f8500b8d9f6a234b1f844c6670bcbccee93f22
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Apr 18 17:48:05 2018 +0200

    Install the Maven artifacts (Closes: #708441)
---
 debian/changelog           |  1 +
 debian/control             |  2 +-
 debian/libtrove-java.jlibs |  1 -
 debian/libtrove-java.poms  |  1 +
 debian/maven.rules         |  1 +
 debian/pom.xml             | 38 ++++++++++++++++++++++++++++++++++++++
 debian/rules               |  2 +-
 7 files changed, 43 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4e50e49..afe89d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 trove (2.1.0-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts (Closes: #708441)
   * Removed the dependency on the JRE
   * Build with the DH sequencer instead of CDBS
   * Removed Michael Koch from the uploaders (Closes: #654137)
diff --git a/debian/control b/debian/control
index 35c98b1..2e8467d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
  ant,
  debhelper (>= 11),
  default-jdk,
- javahelper
+ maven-repo-helper
 Standards-Version: 4.1.4
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/trove.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/trove.git
diff --git a/debian/libtrove-java.jlibs b/debian/libtrove-java.jlibs
deleted file mode 100644
index 293d86d..0000000
--- a/debian/libtrove-java.jlibs
+++ /dev/null
@@ -1 +0,0 @@
-output/lib/trove-*.jar
diff --git a/debian/libtrove-java.poms b/debian/libtrove-java.poms
new file mode 100644
index 0000000..6f11b29
--- /dev/null
+++ b/debian/libtrove-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --java-lib --usj-name=trove --artifact=output/lib/trove-*.jar
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..5732ef1
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+net.sf.trove4j trove4j * s/.*/2.x/ * *
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..5662916
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>net.sf.trove4j</groupId>
+    <artifactId>trove4j</artifactId>
+    <version>2.1.0</version>
+    <packaging>bundle</packaging>
+    <name>GNU Trove</name>
+    <description>The Trove library provides high speed regular and
+        primitive collections for Java.
+    </description>
+    <url>http://trove4j.sourceforge.net/</url>
+    <licenses>
+        <license>
+            <name>GNU Lesser General Public License 2.1</name>
+            <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <scm>
+        <url>https://trove4j.svn.sourceforge.net/svnroot/trove4j</url>
+    </scm>
+
+    <dependencies/>
+
+    <developers>
+        <developer>
+            <name>Rob Eden</name>
+        </developer>
+        <developer>
+            <name>Eric D. Friedman</name>
+        </developer>
+    </developers>
+</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index c7f6b29..af4e2ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with javahelper
+	dh $@ --with maven-repo-helper
 
 override_dh_auto_build:
 	dh_auto_build -- jar javadoc

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



More information about the pkg-java-commits mailing list