Package: maven-debian-helper
Version: 2.0.6
Severity: normal
Tags: patch

Dear Maintainer,

mh_make is looking at a deprecated path for mvnDebug.

apt-file no longer references to mvnDebug at /usr/bin/mvnDebug but rather at
/usr/share/maven/bin/mvnDebug

The attached patch fixes this problem.

Greetings
Peter



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maven-debian-helper depends on:
ii  default-jdk                     2:1.8-57
ii  libmaven-clean-plugin-java      2.5-1
ii  libmaven-compiler-plugin-java   3.2-5
ii  libmaven-jar-plugin-java        2.4-1
ii  libmaven-resources-plugin-java  2.6-1
ii  libmaven-site-plugin-java       2.1-4
ii  libplexus-velocity-java         1.1.8-1
ii  libsurefire-java                2.17-2
ii  libxml2-utils                   2.9.3+dfsg1-1
ii  maven                           3.3.9-3
ii  maven-repo-helper               1.8.12
ii  unzip                           6.0-20
ii  velocity                        1.7-4

maven-debian-helper recommends no packages.

Versions of packages maven-debian-helper suggests:
ii  apt-file                      3.0
ii  devscripts                    2.16.2
pn  libmaven-javadoc-plugin-java  <none>
pn  subversion                    <none>

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/mh_make (from maven-debian-helper package)
diff --git a/bin/mh_make b/bin/mh_make
index 62fe036..2bcf4ff 100755
--- a/bin/mh_make
+++ b/bin/mh_make
@@ -134,7 +134,7 @@ if [ ! -x /usr/bin/apt-file ]; then
     exit 1
 else
     res="ok"
-    apt-file search /usr/bin/mvnDebug | grep maven > /dev/null || res="failed"
+    apt-file search /usr/share/maven/bin/mvnDebug | grep maven > /dev/null || res="failed"
     if [ $? != 0 ] || [ "$res" == "failed" ]; then
         echo "Warning: apt-file doesn't seem to be configured"
         apt-file update
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to