Your message dated Mon, 27 Jun 2016 23:29:08 +0000
with message-id <e1bhfxk-00039f...@franck.debian.org>
and subject line Bug#826433: fixed in maven-debian-helper 2.0.7
has caused the Debian Bug report #826433,
regarding maven-debian-helper: DependancySolver should display relative path to 
poms
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
826433: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826433
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven-debian-helper
Version: 2.0.6
Severity: normal
Tags: patch

Dear Maintainer,

Prior to commit 21a777b4f8147270f09f0238be2757bb14a58c45, DependancySolver 
would display the relative paths to a pom, followed by the error contained in
the pom. Subsequently, DependancySolver just displays the name of the pom file
which is usually (always?) pom.xml. The original behaviour was much more useful
when investigating issues.

The attached patch reverts commit 21a777b4f8147270f09f0238be2757bb14a58c45 and
restores the original behaviour.

Thank you.

Christopher Hoskin




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

Kernel: Linux 4.5.0-2-amd64 (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
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-4
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.4
ii  libmaven-javadoc-plugin-java  2.10.3-2
ii  subversion                    1.9.4-1

-- no debconf information
diff --git a/maven-packager-utils/src/main/java/org/debian/maven/packager/DependenciesSolver.java b/maven-packager-utils/src/main/java/org/debian/maven/packager/DependenciesSolver.java
index 7042552..f8d1777 100644
--- a/maven-packager-utils/src/main/java/org/debian/maven/packager/DependenciesSolver.java
+++ b/maven-packager-utils/src/main/java/org/debian/maven/packager/DependenciesSolver.java
@@ -544,7 +544,10 @@ public class DependenciesSolver {
             return dependency;
         }
 
-        String sourcePomLoc = sourcePom.getName();
+        String sourcePomLoc = sourcePom.getAbsolutePath();
+        String baseDirPath = baseDir.getAbsolutePath();
+        sourcePomLoc = sourcePomLoc.substring(baseDirPath.length() + 1, sourcePomLoc.length());
+
         if (verbose) {
              System.out.println("Resolving " + dependency + (dependency.getScope() == null ? "" : " of scope " + dependency.getScope()) + "...");
         }

--- End Message ---
--- Begin Message ---
Source: maven-debian-helper
Source-Version: 2.0.7

We believe that the bug you reported is fixed in the latest version of
maven-debian-helper, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 826...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated maven-debian-helper 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 28 Jun 2016 00:31:21 +0200
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source all
Version: 2.0.7
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 726609 820161 826419 826422 826433 827732
Changes:
 maven-debian-helper (2.0.7) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Emmanuel Bourg ]
   * Added maven-doap-plugin and coveralls-maven-plugin to the ignored plugins
   * Standards-Version updated to 3.9.8
   * The generated control file now specifies Standards-Version: 3.9.8
   * Fixed the default license announced by mh_make (Closes: #826419)
   * Removed the ambiguous short option for mh_resolve_dependencies 
--non-explore
     (Closes: #826422)
 .
   [ Christopher Hoskin ]
   * Fix "mh_resolve_dependencies fails to honour --verbose option"
     (Closes: #820161)
   * Fix "Using wrong path to mvnDebug when checking if apt-file"
     Updated path for mvnDebug in mh_make (Closes: #726609)
   * DependancySolver displays the relative path to poms (Closes: #826433)
   * Fix mh_make so that the dependency resolution is properly affected by
     --run-tests=false and --javadoc=false work (Closes: #827732)
 .
   [ Luca Vercelli ]
   * Fixed an error when copy-repo.sh encounters artifacts with ".pom"
     in the artifactId
Checksums-Sha1:
 881304a975eb87d65034ff341968e43fba53c1cf 2145 maven-debian-helper_2.0.7.dsc
 e0512f826664a5cb44b30b1f57d98e4d7e3ac451 87268 maven-debian-helper_2.0.7.tar.xz
 6a5a16478095096dabcee6be817eecd7d6fe616c 119130 
maven-debian-helper_2.0.7_all.deb
Checksums-Sha256:
 a7e0f997520922e8e442c683e11935a76a2596f975654589785ad01648a9ffec 2145 
maven-debian-helper_2.0.7.dsc
 995894c7fa562da75b9755284aece10ca300a73241e3523bf4ce799ab623d5ab 87268 
maven-debian-helper_2.0.7.tar.xz
 5a961510253f0961bca0a3ad44492e0ff3012e002bc876aa9d2641bea89e0e9c 119130 
maven-debian-helper_2.0.7_all.deb
Files:
 dbd773549dc585242168293c3bce26bf 2145 java optional 
maven-debian-helper_2.0.7.dsc
 ff7dd834f6cfeb47241565ce7a59a52b 87268 java optional 
maven-debian-helper_2.0.7.tar.xz
 e5b89a1a5c82e490f078d08c2860f07e 119130 java optional 
maven-debian-helper_2.0.7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXca6hAAoJEPUTxBnkudCs2UIQAL+Y1A0tL5eIWybrnEcz81q3
7QgfkTZ5DBUAPmg0B/wY+RSiYFU0e4SaG9ILlyW8ZiPQBYO4Zw1e/4zirC4MIvUW
4aRlVtes/CoT39saLQ9ppwkhV6OiMvXiY+2rXmXvQtbSVK87FcvmYfbC+i6Z3wlu
MlsoTXKClbOzfFAq21UHyp7N2Xy9q937OOUSmprFRbB086aBk2bXfvf+eiE4Lyaw
bQEb9WsFNMlhiv2UwmDepC6DxvHpCkUgYErND0y5qtVFcupVjsylCMaABqA7ZLGt
2bj3ptgSGd1uTPOLMExKAdpSULWu0cIuSN9IJoJklGYQqkNe2h2MRbOMUKH2iBl5
EpKXoTz8S7+rgYJ62icPszaoRbd15hNjI6XUmAj9X9tixittSuBHd2V3pR/VRkFo
E2Oi4whE6EN+XdTcL47Z0d+C9KnEqPQ8IPV0pODQ9S1KNWj5yZyEPN0yWHMMmkSS
OgCOoqoZaThUJFfUrlI+I6VJy5BWrvXCUiWcyt8Ci61qmWEsw0Epfee7YygQRMSd
vKaCElzezvtdN0z/+PScqhlhf4HRDtDfgrythf1R/TofIcPhAJkewMUaxRkJNoxv
+xyvGtLa11J8v57D336kUc9+hWnZ/70wxh1qKkq1o7n2gLHbN0VGsIzf1JJCCYnI
fML5FYdNA6sWCt4yZv6g
=VDFi
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to