[libxpp2-java] 19/20: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sat Oct 14 20:56:31 UTC 2017


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

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

commit fab78133b83fea9d6df9a9c7dcfa4900a39276c1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Oct 14 22:46:33 2017 +0200

    Install the Maven artifacts
---
 debian/changelog         |  1 +
 debian/control           |  2 +-
 debian/libxpp2-java.poms |  1 +
 debian/pull-parser.pom   | 18 ++++++++++++++++++
 debian/rules             |  9 +--------
 5 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d807f29..e204b72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libxpp2-java (2.1.10-8) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts
   * Fixed the build failure with Java 9
   * Removed Michael Koch from the uploaders (Closes: #654105)
   * No longer install the javadoc in the library package
diff --git a/debian/control b/debian/control
index f8948ed..03bd358 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: debhelper (>= 10), ant, default-jdk
+Build-Depends: debhelper (>= 10), ant, default-jdk, maven-repo-helper
 Build-Depends-Indep: junit
 Standards-Version: 4.1.1
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/libxpp2-java.git
diff --git a/debian/libxpp2-java.poms b/debian/libxpp2-java.poms
new file mode 100644
index 0000000..f6575d1
--- /dev/null
+++ b/debian/libxpp2-java.poms
@@ -0,0 +1 @@
+debian/pull-parser.pom --has-package-version --java-lib --artifact=build/lib/PullParser-2.1.10.jar --usj-name=xpp2
diff --git a/debian/pull-parser.pom b/debian/pull-parser.pom
new file mode 100644
index 0000000..3c2d605
--- /dev/null
+++ b/debian/pull-parser.pom
@@ -0,0 +1,18 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>pull-parser</groupId>
+  <artifactId>pull-parser</artifactId>
+  <name>XPP - XML Pull Parser</name>
+  <version>2.1.10</version>
+  <licenses>
+    <license>
+      <name>Indiana University Extreme! Lab Software License</name>
+      <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/download/PullParser2/LICENSE.txt</url>
+      <comments>BSDish license</comments>
+    </license>
+  </licenses>
+  <organization>
+    <name>Indiana University Extreme! Lab</name>
+    <url></url>
+  </organization>
+</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index d244088..a7ee5b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,7 @@
 #!/usr/bin/make -f
 
-include /usr/share/dpkg/pkg-info.mk
-
 %:
-	dh $@
+	dh $@ --with maven-repo-helper
 
 override_dh_auto_build:
 	dh_auto_build -- compile junit
-
-override_dh_install:
-	dh_install
-	install -m 644 build/lib/PullParser-$(DEB_VERSION_UPSTREAM).jar debian/libxpp2-java/usr/share/java/xpp2-$(DEB_VERSION_UPSTREAM).jar
-	ln -s xpp2-$(DEB_VERSION_UPSTREAM).jar debian/libxpp2-java/usr/share/java/xpp2.jar

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



More information about the pkg-java-commits mailing list