Bug#775987: maven: Maven depends on openjdk exclusively
Laurens Blankers
laurens at blankersfamily.com
Thu Jan 22 12:11:26 UTC 2015
Package: maven
Version: 3.0.5-2
Severity: minor
Dear Java Maintainer,
I noticed that the maven package in jessie depends on
{default-jre|java5-runtime}[-headless]. Which results in openjdk-7-jre being
pulled in even if an alternative JRE/JDK is installed. In my case the JDK
installed is oracle-java7-jdk (using make-jpkg from java-package).
The ant package (also in jessie) doesn't exhibit this problem because it
also depends on java7-runtime-headless (which is provided by
oracle-java7-jdk).
Although both will still install openjdk if oracle-java8-{jdk,jre} is
installed.
My suggestion would be to have both maven and ant depends on the virtual
package java-runtime-headless, since this is provided by all JREs and JDKs
including the once created by make-jpkg.
Sincererly,
Laurens
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages maven depends on:
ii default-jre [java5-runtime] 2:1.7-52
ii default-jre-headless [java5-runtime-headless] 2:1.7-52
ii libaether-java 1.13.1-2
ii libcommons-cli-java 1.2-3
ii libcommons-codec-java 1.9-1
ii libcommons-httpclient-java 3.1-10.2
ii libcommons-logging-java 1.2-1
ii libguava-java 17.0-1
ii libplexus-cipher-java 1.5-4
ii libplexus-classworlds2-java 2.5.2-1
ii libplexus-containers1.5-java 1.5.5-6
ii libplexus-interpolation-java 1.19-1
ii libplexus-sec-dispatcher-java 1.3.1-6
ii libplexus-utils2-java 3.0.15-1
ii libsisu-guice-java 3.2.4-1
ii libsisu-ioc-java 2.3.0-5
ii libwagon2-java 2.7-1
ii openjdk-7-jre [java5-runtime] 7u71-2.5.3-2
ii openjdk-7-jre-headless [java5-runtime-headless] 7u71-2.5.3-2
ii oracle-java7-jdk [java5-runtime-headless] 7u71
maven recommends no packages.
maven suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list