[jpathwatch] 01/06: apply (and merge) Markus Koschany's patch for maven artifacts

Tony Mancill tmancill at moszumanska.debian.org
Tue Sep 15 03:56:42 UTC 2015


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

tmancill pushed a commit to branch master
in repository jpathwatch.

commit e3a3343f059f2b1ea96aa8d43324c6fbce629440
Author: tony mancill <tmancill at debian.org>
Date:   Mon Sep 14 18:57:38 2015 -0700

    apply (and merge) Markus Koschany's patch for maven artifacts
    
    Closes: #799004
---
 debian/changelog               |  4 +++-
 debian/control                 |  2 +-
 debian/libjpathwatch-java.poms |  1 +
 debian/pom.xml                 | 45 ++++++++++++++++++++++++++++++++++++++++++
 debian/rules                   |  5 ++++-
 5 files changed, 54 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 21d900b..b10dc36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ jpathwatch (0.95-2) unstable; urgency=low
   [ Markus Koschany ]
   * Transition to bnd 2.1.0. Fix obsolete bnd parameter syntax in
     debian/rules.
+  * Add debian/pom.xml, build with jh_maven_repo_helper and provide Maven
+    artifacts.
 
- -- Markus Koschany <apo at gambaru.de>  Thu, 04 Jun 2015 22:33:15 +0200
+ -- Markus Koschany <apo at gambaru.de>  Mon, 14 Sep 2015 22:41:26 +0200
 
 jpathwatch (0.95-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 4a6c5d1..92c3837 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: Jakub Adam <jakub.adam at ktknet.cz>
-Build-Depends: debhelper (>=9), javahelper, default-jdk, bnd
+Build-Depends: debhelper (>=9), javahelper, default-jdk, bnd, maven-repo-helper
 Standards-Version: 3.9.4
 Homepage: http://jpathwatch.wordpress.com
 Vcs-Git: git://anonscm.debian.org/pkg-java/jpathwatch.git
diff --git a/debian/libjpathwatch-java.poms b/debian/libjpathwatch-java.poms
new file mode 100644
index 0000000..0324fb2
--- /dev/null
+++ b/debian/libjpathwatch-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=jpathwatch
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..54f41a6
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,45 @@
+<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.jpathwatch</groupId>
+    <artifactId>jpathwatch</artifactId>
+    <version>0.95</version>
+    <packaging>jar</packaging>
+
+    <name>jpathwatch</name>
+    <description>
+        jpathwatch is a Java library for monitoring directories for changes.  It
+        uses the host platform's native OS functions to achive this to avoid
+        polling.
+    </description>
+
+    <url>http://jpathwatch.wordpress.com</url>
+
+    <licenses>
+        <license>
+            <name>GNU General Public License with Classpath Exception</name>
+            <url>http://www.gnu.org/software/classpath/license.html</url>
+            <comments>
+                A modified version of the GPLv2 which permits linking with
+                GPL-incompatible modules under certain conditions.
+            </comments>
+        </license>
+    </licenses>
+	
+	<scm>
+		<connection>scm:svn:https://jpathwatch.svn.sourceforge.net/svnroot/jpathwatch</connection>
+		<url>http://jpathwatch.svn.sourceforge.net/viewvc/jpathwatch/</url>
+	</scm>
+
+    <developers>
+        <developer>
+            <id>bobby_newmark</id>
+            <name>Uwe Pachler</name>
+            <roles>
+                <role>developer</role>
+                <role>maintainer</role>
+            </roles>
+        </developer>
+    </developers>
+</project>
diff --git a/debian/rules b/debian/rules
index 2f46ef9..00b6753 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with javahelper
+	dh $@ --with javahelper,jh_maven_repo_helper
 
 override_dh_auto_build:
 	# build JNI library
@@ -26,3 +26,6 @@ override_dh_install-arch:
 
 get-orig-source:
 	debian/fetch-orig.sh
+
+get-orig-pom:
+	wget -O debian/pom.xml https://repo1.maven.org/maven2/net/sf/jpathwatch/jpathwatch/0.95/jpathwatch-0.95.pom

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



More information about the pkg-java-commits mailing list