[remotetea] 04/06: Install the Maven artifacts for org.acplt:oncrpc

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 24 00:30:44 GMT 2014


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

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

commit b00bc3f47ec865a7a5f79e388993dfcea499eed7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Nov 24 01:20:20 2014 +0100

    Install the Maven artifacts for org.acplt:oncrpc
---
 debian/changelog  |  1 +
 debian/control    |  2 +-
 debian/oncrpc.pom | 30 ++++++++++++++++++++++++++++++
 debian/rules      |  9 +++++++++
 4 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 10e818d..29c3534 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 remotetea (1.0.7-3) UNRELEASED; urgency=medium
 
   * Package adopted by the Java Team (Closes: #770595)
+  * Install the Maven artifacts for org.acplt:oncrpc
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 24 Nov 2014 00:38:35 +0100
 
diff --git a/debian/control b/debian/control
index b7ecc4e..fd178bb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: extra
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: debhelper (>= 7.0.50), javahelper, default-jdk, ant
+Build-Depends: debhelper (>= 7.0.50), javahelper, default-jdk, ant, maven-repo-helper
 Standards-Version: 3.9.1
 Vcs-Git: git://anonscm.debian.org/pkg-java/remotetea.git
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/remotetea.git
diff --git a/debian/oncrpc.pom b/debian/oncrpc.pom
new file mode 100644
index 0000000..fdbc772
--- /dev/null
+++ b/debian/oncrpc.pom
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.acplt</groupId>
+  <artifactId>oncrpc</artifactId>
+  <name>Remote Tea Runtime</name>
+  <packaging>jar</packaging>
+  <version>1.0.7</version>
+  <description>A fully fledged implementation of the ONC/RPC protocol</description>
+  <url>http://remotetea.sourceforge.net/</url>
+  <licenses>
+    <license>
+      <name>GNU Lesser General Public License</name>
+      <url>http://www.gnu.org/licenses/lgpl.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <scm>
+    <connection>scm:cvs:pserver:remotetea.cvs.sourceforge.net:/cvsroot/remotetea</connection>
+    <developerConnection>scm:ext:remotetea.cvs.sourceforge.net:/cvsroot/remotetea</developerConnection>
+    <url>http://remotetea.cvs.sourceforge.net/viewvc/remotetea/</url>
+  </scm>
+  <developers>
+    <developer>
+      <id>haraldalbrecht</id>
+      <name>Harald Albrecht</name>
+      <email>haraldalbrecht at users.sourceforge.net</email>
+    </developer>
+  </developers>
+</project>
diff --git a/debian/rules b/debian/rules
index b1194e6..b38f666 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,15 @@ export JAVA_HOME = /usr/lib/jvm/default-java
 override_dh_auto_build:
 	ant jar javadoc
 
+override_dh_auto_install:
+	dh_auto_install
+	mh_installpom -premotetea --has-package-version debian/oncrpc.pom
+	mh_installjar -premotetea --java-lib debian/oncrpc.pom classes/oncrpc.jar
+
+override_dh_auto_clean:
+	dh_auto_clean
+	mh_clean
+
 get-orig-source:
 	rm -rf get-orig-source $(TARBALL) remotetea.zip
 	mkdir get-orig-source

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



More information about the pkg-java-commits mailing list