Hello Gabriele,
That's an interesting issue, but not so easy to fix neatly.
The first thing you can do: don't use ${maven:DocDepends}, specify
yourself the list of doc packages to include.
Going forward, there are several solutions but they all look like it can
take some time to implement them:
- add a property in the pom like debian.package which indicates the name
of the documentation package if it exists. This would force a change in
all packages already deploying artifacts in the Debian Maven repository
- use dpkg or apt-file to locate the documentation package associated
with the dependent package
- any other idea or advise?
Ludovic
Le 05/07/2010 01:14, Gabriele Giacone a écrit :
Package: maven-debian-helper
Version: 1.0
Severity: normal
${maven:DocDepends} is replaced with -doc packages even if they don't exist so
-doc package will depend on non-existent packages like
libmaven-shared-io-java-doc, libxstream-java-doc.
Possibility to ignore them?
Don't include them if they don't exist?
Thanks.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-debian-helper depends on:
ii default-jdk 1.6-36 Standard Java or Java compatible D
ii libmaven-clean-plugin-java 2.3-3 Maven clean plugin
ii libmaven-compiler-plugin-java 2.0.2-4 Maven compiler plugin
ii libmaven-jar-plugin-java 2.2-4 Maven Jar plugin
ii libmaven-resources-plugin-jav 2.3-5 Maven resources plugin
ii libmaven-site-plugin-java 2.1-1 Maven Site Plugin for generating a
ii libplexus-velocity-java 1.1.7-3 Plexus component interface to velo
ii libsurefire-java 2.4.3-3 Surefire test framework for Java
ii maven-repo-helper 1.1 Helper tools for including Maven m
ii maven2 2.2.1-5 Java software project management a
ii velocity 1.6.2-4 Java-based template engine for web
Versions of packages maven-debian-helper recommends:
ii apt-file 2.4.0 search for files within Debian pac
Versions of packages maven-debian-helper suggests:
ii libmaven-javadoc-plugin-java 2.6.1-1 Maven Javadoc Plugin
-- no debconf information
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please
use
debian-j...@lists.debian.org for discussions and questions.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org