Bug#635026: hawtjni: Package does not install maven artifacts

James Page james.page at ubuntu.com
Thu Jul 21 21:56:42 UTC 2011


Package: hawtjni
Version: 1.0~+git0c502e20c4-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmpi1pRv1
In Ubuntu, the attached patch was applied to achieve the following:

  * Deploy maven artifacts to /usr/share/maven-repo (LP: #814288):
    - debian/control: Build-Depend on maven-repo-helper
    - debian/rules: Added --with maven-repo-helper
    - debian/libhawtjni-runtime-java.poms: location of pom.xml and
      jar to install.

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.38-10-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2011-03-21 19:42:37 +0000
+++ debian/control	2011-07-21 20:42:27 +0000
@@ -1,9 +1,10 @@
 Source: hawtjni
 Section: java
 Priority: optional
-Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <miguel at miguel.cc>
-Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper
+Build-Depends: debhelper (>= 7.0.50~), default-jdk, javahelper, maven-repo-helper
 Standards-Version: 3.9.1
 DM-Upload-Allowed: yes
 Homepage: http://fusesource.com/forge/sites/hawtjni/

=== added file 'debian/libhawtjni-runtime-java.poms'
--- debian/libhawtjni-runtime-java.poms	1970-01-01 00:00:00 +0000
+++ debian/libhawtjni-runtime-java.poms	2011-07-21 20:41:41 +0000
@@ -0,0 +1 @@
+hawtjni-runtime/pom.xml --artifact=hawtjni-runtime.jar --java-lib --no-parent

=== modified file 'debian/rules'
--- debian/rules	2010-08-05 19:40:25 +0000
+++ debian/rules	2011-07-21 20:39:26 +0000
@@ -3,7 +3,7 @@
 export JAVA_HOME=/usr/lib/jvm/default-java
 
 %:
-	dh --with javahelper $@
+	dh --with javahelper --with maven-repo-helper $@
 
 override_dh_auto_build:
 	jh_build hawtjni-runtime.jar hawtjni-runtime/src/main/java



More information about the pkg-java-maintainers mailing list