Bug#657889: maven-debian-helper: mh_make is failing with a java.lang.NoSuchMethodError exception

Sylvestre Ledru sylvestre at debian.org
Sun Jan 29 17:09:27 UTC 2012

Package: maven-debian-helper
Version: 1.5
Severity: important


I just upgraded maven-debian-helper to version 1.5 (cherry-pick from unstable of
this package and dependencies).
mh_make is failing with:
Exception in thread "main" java.lang.NoSuchMethodError: org.debian.maven.repo.POMTransformer.setFixVersions(Z)V
	at org.debian.maven.packager.DependenciesSolver.<init>(DependenciesSolver.java:183)
	at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:1555)

I guess it is too old version of a dependency. It should be enforced in the
maven-debian-helper package.

Thanks for this great package btw,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.6-46
ii  libmaven-clean-plugin-java      2.3-4
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-2
ii  maven-repo-helper               1.7
ii  maven2                          2.2.1-10
ii  velocity                        1.7-1

maven-debian-helper recommends no packages.

Versions of packages maven-debian-helper suggests:
ii  apt-file                      2.5.0
ii  devscripts                    2.11.2
ii  libmaven-javadoc-plugin-java  <none>
ii  subversion                    1.6.17dfsg-3

-- no debconf information

More information about the pkg-java-maintainers mailing list