Bug#881433: maven: /usr/share/maven/boot/plexus-classworlds-2.x.jar should point to /usr/share/java/plexus-classworlds.jar

Miguel Landaeta nomadium at debian.org
Sat Nov 11 18:26:53 UTC 2017


Package: maven
Version: 3.3.9-4
Severity: normal
Tags: patch

As title says.

/usr/share/maven/boot/plexus-classworlds-2.x.jar is currently pointing
to /usr/share/java/plexus-classworlds2.jar that is provided by
transitional package libplexus-classworlds2-java.

However, maven switched its dependency to libplexus-classworlds-java,
so this causes a dangling pointer and breaks maven unless you have
installed both libplexus-classworlds-java packages.

Anyway, the fix should be trivial and I pushed it to the repo.
Feel free to revert if there is a better alternative or I'm wrong
about this.

Cheers,
Miguel.


diff --git a/debian/maven.links b/debian/maven.links
index 8a017ef..5a7cec0 100644
--- a/debian/maven.links
+++ b/debian/maven.links
@@ -2,7 +2,7 @@
 
 /etc/maven/m2.conf /usr/share/maven/bin/m2.conf
 
-/usr/share/java/plexus-classworlds2.jar /usr/share/maven/boot/plexus-classworlds-2.x.jar
+/usr/share/java/plexus-classworlds.jar /usr/share/maven/boot/plexus-classworlds-2.x.jar
 
 /usr/share/java/aopalliance.jar                      /usr/share/maven/lib/aopalliance.jar
 /usr/share/java/cdi-api.jar                          /usr/share/maven/lib/cdi-api.jar

``
-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maven depends on:
ii  default-jre-headless [java7-runtime-headless]    2:1.8-58
ii  libmaven3-core-java                              3.3.9-4
ii  openjdk-8-jre-headless [java7-runtime-headless]  8u141-b15-1~deb9u1

maven recommends no packages.

maven suggests no packages.

-- no debconf information

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20171111/86eef62f/attachment.sig>


More information about the pkg-java-maintainers mailing list