#638001 maven-debian-helper: mh_resolve_dependencies could avoid to search POMs provided by this package

#638001#5
Date:
2011-08-16 13:23:45 UTC
From:
To:
Hi.

A package of mine (msv) provide more than one POM file, some of which
depend on each other. When compiling, mh_resolve_dependencies tries to
locate to which package belong the dependencies listed in POM files and
does so even for artifacts that are already provided by the package that
is currently compiling.

This behavior shown in the attached build log for msv:
mh_resolve_dependencies executes dpkg --search to find artifacts that
are provided by the package. This does not lead to build failures are
bad packages, but makes the compilation longer than required, so it
would be nice to fix it.

Thanks, Giovanni.
Debian Release: wheezy/sid
  500 unstable        www.toastfreeware.priv.at
  500 unstable        www.debian-multimedia.org
  500 unstable        poisson.phc.unipi.it
  500 unstable        mi.mirror.garr.it
  500 testing         mi.mirror.garr.it
  500 stable          security.debian.org
    1 experimental    mi.mirror.garr.it
--- Package information. ---
Depends                               (Version) | Installed
===============================================-+-=============
default-jdk                                     | 1:1.6-40
maven-repo-helper                      (>= 1.5) | 1.5.1
maven2                             (>= 2.2.1-5) | 2.2.1-5
libmaven-clean-plugin-java                      | 2.3-3
libmaven-resources-plugin-java                  | 2.3-5
libmaven-compiler-plugin-java                   | 2.0.2-4
libmaven-jar-plugin-java                        | 2.2-4
libmaven-site-plugin-java                       | 2.1-1
libsurefire-java                                | 2.4.3-3
velocity                                        | 1.6.2-4
libplexus-velocity-java                         | 1.1.7-3


Recommends      (Version) | Installed
=========================-+-===========
apt-file                  | 2.4.2
devscripts                | 2.11.0
subversion                | 1.6.17dfsg-1


Suggests                          (Version) | Installed
===========================================-+-===========
libmaven-javadoc-plugin-java                | 2.6.1-1

#638001#10
Date:
2014-05-13 19:41:52 UTC
From:
To:
severity 638001 normal
thanks

Hi,

Giovanni Mascellani a écrit , Le 16/08/2011 15:23:
Depends fields: for each pom.xml file mh_resolve_dependencies will
abort at the first unresolved dependency.

Cheers,

_g.