Bug#719487: maven-debian-helper: Install mojo does not include maven.ignoreRules when processing pom files

James Page james.page at ubuntu.com
Mon Aug 12 12:02:55 UTC 2013


Package: maven-debian-helper
Version: 1.6.3
Severity: normal

Dear Maintainer,

I guess through a bug in the maven-debian-helper package, earlier versions of mdh managed
to install pom files in /usr/share/maven-repo with the maven.ignoreRules file applied.

The current version does not exhibit this behaviour - only maven.rules is applied which
then creates maven artifacts which are un-usable on Debian.

I noted this while doing updates for jenkins and the maven-hpi-plugin packages.

I worked around this by forcing use of mh_installpoms:

# Install POM files directly
binary-post-install/libjenkins-java::
    mh_installpoms -plibjenkins-java

this ensures that .ignoreRules is used.

Cheers

James

-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), (100, 'saucy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages maven-debian-helper depends on:
ii  default-jdk                     1:1.7-48
ii  libmaven-clean-plugin-java      2.5-1
ii  libmaven-compiler-plugin-java   2.0.2-6
ii  libmaven-jar-plugin-java        2.2-6
ii  libmaven-resources-plugin-java  2.3-7
ii  libmaven-site-plugin-java       2.1-2
ii  libplexus-velocity-java         1.1.7-5
ii  libsurefire-java                2.10-4
ii  maven-repo-helper               1.8.3
ii  maven2                          2.2.1-14
ii  velocity                        1.7-4

maven-debian-helper recommends no packages.

Versions of packages maven-debian-helper suggests:
pn  apt-file                      <none>
ii  devscripts                    2.13.2
pn  libmaven-javadoc-plugin-java  <none>
ii  subversion                    1.7.9-1+nmu3ubuntu1

-- no debconf information



More information about the pkg-java-maintainers mailing list