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-de...@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.
signature.asc
Description: OpenPGP digital signature