Bug#665799: maven-debian-helper: jar files installed to /usr/share/java AND /usr/share/maven-repo

James Page james.page at ubuntu.com
Mon Mar 26 09:04:17 UTC 2012


Package: maven-debian-helper
Version: 1.5
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

Version 1.5 of maven-debian-helper installs jar files to both /usr/share/java
and into /usr/share/maven-repo for the original group/artifact/version path.

This results in a bigger than normal .deb file as the code is installed twice.

In Ubuntu, the attached patch was applied to achieve the following:

  * maven-debian-plugin/.../SysInstallMojo.java: Don't install jar
    file to /usr/share/maven-repo when also installing to /usr/share/java
    - just symlink it (LP: #965054).

I've tested this on packages with install to /usr/share/java and those that don't
- - the jars where just installed once with the correct symlinks created.

Thanks for considering the patch.


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

Kernel: Linux 3.2.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPcDEQAAoJEL/srsug59jD05YP/R/LV1aQhDHNqNQCYzjXXtMw
jRMvVOdK4SJmlkO20FsI37JrIw8jH9WhwnRrRoG2N+6H8eg+EutMldkeHoN1wDIj
EgB4x3NcPOnELYz3blqwp6dSisqUfPBSC7VniiSp9rrD7iGw6amYtW1bOG/ccLLb
in75elmcVjp8oP/xb2xkL5kUQ8h6VIwWwa3E4Nn4lPfP8uhKwP7TT3XI47fNiRmp
YOYGLLYAAXHu5CjuQEKICpzRK3XPgrPOBdYjczBm34uZEQBnMiSJFJ/yx9yHZvcG
po5HNd+HPIpfEtJ7gpeKHqfxCZMrxmL6FmIiCPniRdga9xF1SPhsNwAYu3BRmIxt
pE8vgBBdpn1IvrNG+CyGkXuKrAjkqb5YMbG4m2Z7LeGztmQd+EznIb99ZNcZvA4n
11CerqVKFjKx5lNRM3/sjq1jKNSnjzMUBuZiJN7WSRk/d+kobtU/G4KOke7Jq7Ly
w3ONsOkoMS2Cu6hv/SsRU0DIe5tmI9WnrK+mZR9/Q8zhX4u3yagpMepky5A4+dOs
D956t3rLEdy4pU1vAJ2PJm2b4vpoNeeat8eYFPTebhA1PJD6YzrNodqnvx6Evr34
Gv4zib6rZDU57z6Qroz/vtve/qUS6/xf92ojAxhC5W6tTdtubCGzJ8r+iGV89Gor
CgenRav0opllHQgCvroU
=mbNH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maven-debian-helper_1.5ubuntu1.debdiff
Type: text/x-diff
Size: 708 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120326/29bd653a/attachment-0001.diff>


More information about the pkg-java-maintainers mailing list