Package: jmdns
Version: 3.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmprTHAcB

It would be great if this package installed Maven artifacts to 
/usr/share/maven-repo; the attached patch should do the trick.

  * Enabled maven artifact deployment:
    - debian/control: Build-Depends added maven-repo-helper
    - debian/rules: install maven artifacts
    - debian/libjmdns-java.poms: pom location for maven-repo-helper
    - debian/poms/jmdns.pom: localised pom for maven


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-28-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/control'
--- debian/control      2010-02-24 18:22:21 +0000
+++ debian/control      2011-03-29 12:43:39 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Mathieu Malaterre (malat) <mathieu.malate...@gmail.com>
-Build-Depends: debhelper (>> 7), javahelper, gcj-jdk, default-jdk
+Build-Depends: debhelper (>> 7), javahelper, gcj-jdk, default-jdk, 
maven-repo-helper
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jmdns
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jmdns/

=== added file 'debian/libjmdns-java.poms'
--- debian/libjmdns-java.poms   1970-01-01 00:00:00 +0000
+++ debian/libjmdns-java.poms   2011-03-29 12:38:24 +0000
@@ -0,0 +1 @@
+debian/poms/jmdns.pom

=== added directory 'debian/poms'
=== added file 'debian/poms/jmdns.pom'
--- debian/poms/jmdns.pom       1970-01-01 00:00:00 +0000
+++ debian/poms/jmdns.pom       2011-03-29 12:38:24 +0000
@@ -0,0 +1,20 @@
+<?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>jmdns</groupId>
+       <artifactId>jmdns</artifactId>
+       <version>3.1</version>
+       <name>JmDNS</name>
+       <description>JmDNS is a Java implementation of multi-cast DNS and can 
be used for service registration and discovery in local area networks. JmDNS is 
fully compatible with Apple's Rendezvous.</description>
+       <url>http://jmdns.sourceforge.net/</url>
+
+       <licenses>
+               <license>
+                       <name>Apache License, Version 2.0</name>
+                       <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+                       <distribution>repo</distribution>
+               </license>
+       </licenses>
+
+</project>

=== modified file 'debian/rules'
--- debian/rules        2010-02-24 18:22:21 +0000
+++ debian/rules        2011-03-29 12:44:17 +0000
@@ -16,6 +16,7 @@
 UPSTREAM_SRC = jmdns-$(VER_FULL)
 DEBIAN_SRC_DIR = jmdns-$(VER_FULL)
 DEBIAN_SRC_TAR = jmdns_$(VER_FULL).orig.tar.gz
+PACKAGE = jmdns
 
 # Put depended upon jars in here
 # export CLASSPATH=
@@ -61,6 +62,8 @@
        jh_installlibs -i
        jh_manifest -i
        jh_depends -i
+       mh_installpoms -plib$(PACKAGE)-java
+       mh_installjar -plib$(PACKAGE)-java -l debian/poms/$(PACKAGE).pom 
$(PACKAGE).jar 
        dh_compress -i
        dh_fixperms -i
        dh_installdeb -i
@@ -80,6 +83,5 @@
        GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
        rm -rf $(UPSTREAM_SRC)
 
-
 binary: binary-indep binary-arch
 .PHONY: build build-arch build-indep clean binary-indep binary-arch binary 
install-indep

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to