Package: libisorelax-java
Version: 20041111-4
Severity: normal
Tags: patch

Hi.

libisorelax-java doesn't ship any .pom file. Please apply the attached
patch to have one and ease compilation that need isorelax as dependency.
If you're ok I can upload the NMU directly.

I'm setting severity to normal because soon I'll file ITPs that require
this .pom file to build.

Thanks, Giovanni.
-- 
Giovanni Mascellani <mascell...@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org
From ea10d7edbcd2604cf31b4114c33fd6dd27556e41 Mon Sep 17 00:00:00 2001
From: Giovanni Mascellani <g...@debian.org>
Date: Tue, 8 Feb 2011 14:40:42 +0100
Subject: [PATCH] Adding .pom files.

---
 debian/changelog                |    7 +++++++
 debian/control                  |    2 +-
 debian/libisorelax-java.install |    1 -
 debian/libisorelax-java.poms    |    1 +
 debian/pom.xml                  |   12 ++++++++++++
 debian/rules                    |    3 +--
 6 files changed, 22 insertions(+), 4 deletions(-)
 delete mode 100644 debian/libisorelax-java.install
 create mode 100644 debian/libisorelax-java.poms
 create mode 100644 debian/pom.xml

diff --git a/debian/changelog b/debian/changelog
index bd4f976..32e481c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+isorelax (20041111-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Adding .pom file to the package.
+
+ -- Giovanni Mascellani <g...@debian.org>  Tue, 08 Feb 2011 14:34:47 +0100
+
 isorelax (20041111-4) unstable; urgency=low
 
   * debian/libisorelax-java.lintian-overrides: Remove.
diff --git a/debian/control b/debian/control
index d287493..1bf54cc 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: isorelax
 Priority: extra
 Maintainer: Samuel Thibault <sthiba...@debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7), maven-repo-helper
 Build-Depends-Indep: default-jdk, ant
 Standards-Version: 3.9.1
 Section: java
diff --git a/debian/libisorelax-java.install b/debian/libisorelax-java.install
deleted file mode 100644
index 8976df8..0000000
--- a/debian/libisorelax-java.install
+++ /dev/null
@@ -1 +0,0 @@
-isorelax-20041111.jar /usr/share/java
diff --git a/debian/libisorelax-java.poms b/debian/libisorelax-java.poms
new file mode 100644
index 0000000..73f963d
--- /dev/null
+++ b/debian/libisorelax-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --artifact=isorelax-20041111.jar --java-lib
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..d2962dd
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,12 @@
+<?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/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion> 
+  <groupId>isorelax</groupId> 
+  <artifactId>isorelax</artifactId> 
+  <version>20041111</version> 
+  <packaging>jar</packaging>
+  <name>ISO RELAX</name>
+  <description>The ISO RELAX project hosts the public interfaces useful for
+    applications to support RELAX Core.</description>
+</project>
+
diff --git a/debian/rules b/debian/rules
index f111c62..a1923b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,9 +36,8 @@ binary-indep: install
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
-	dh_install
+	mh_install
 	dh_lintian
-	dh_link /usr/share/java/$(JARFILE) /usr/share/java/isorelax.jar
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-- 
1.7.2.3

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to