Source: jpathwatch
Version: 0.95-1
Severity: wishlist
Tags: patch

jpathwatch does not provide Maven artifacts which makes it difficult
to use this library in Maven or Gradle projects.

Patch is attached.

Regards,

Markus

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
diff -Nru jpathwatch-0.95/debian/changelog jpathwatch-0.95/debian/changelog
--- jpathwatch-0.95/debian/changelog	2013-10-01 05:45:49.000000000 +0200
+++ jpathwatch-0.95/debian/changelog	2015-09-14 22:42:03.000000000 +0200
@@ -1,3 +1,11 @@
+jpathwatch (0.95-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add debian/pom.xml, build with jh_maven_repo_helper and provide Maven
+    artifacts.
+
+ -- Markus Koschany <a...@gambaru.de>  Mon, 14 Sep 2015 22:41:26 +0200
+
 jpathwatch (0.95-1) unstable; urgency=low
 
   * Initial release. (Closes: #697471)
diff -Nru jpathwatch-0.95/debian/control jpathwatch-0.95/debian/control
--- jpathwatch-0.95/debian/control	2013-10-01 05:45:49.000000000 +0200
+++ jpathwatch-0.95/debian/control	2015-09-14 22:42:03.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Jakub Adam <jakub.a...@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 -Nru jpathwatch-0.95/debian/libjpathwatch-java.poms jpathwatch-0.95/debian/libjpathwatch-java.poms
--- jpathwatch-0.95/debian/libjpathwatch-java.poms	1970-01-01 01:00:00.000000000 +0100
+++ jpathwatch-0.95/debian/libjpathwatch-java.poms	2015-09-14 22:42:03.000000000 +0200
@@ -0,0 +1 @@
+debian/pom.xml --usj-name=jpathwatch
diff -Nru jpathwatch-0.95/debian/pom.xml jpathwatch-0.95/debian/pom.xml
--- jpathwatch-0.95/debian/pom.xml	1970-01-01 01:00:00.000000000 +0100
+++ jpathwatch-0.95/debian/pom.xml	2015-09-14 22:42:03.000000000 +0200
@@ -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 -Nru jpathwatch-0.95/debian/rules jpathwatch-0.95/debian/rules
--- jpathwatch-0.95/debian/rules	2013-10-01 05:45:49.000000000 +0200
+++ jpathwatch-0.95/debian/rules	2015-09-14 22:42:03.000000000 +0200
@@ -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
@@ -22,3 +22,6 @@
 
 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
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to