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

tony mancill tmancill at debian.org
Tue Mar 27 22:50:24 UTC 2012


Ludovic,

Is this behavior change okay with you?  If so, do you mind if I prepare
an upload of maven-debian-helper that includes James' patch?

Thank you,
tony

On 03/26/2012 02:04 AM, James Page wrote:
> Package: maven-debian-helper
> Version: 1.5
> Severity: normal
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu precise ubuntu-patch
> 
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120327/80e5acee/attachment.pgp>


More information about the pkg-java-maintainers mailing list