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

2017-11-12 Thread Miguel Landaeta
On Sat, Nov 11, 2017 at 08:24:09PM +0100, Emmanuel Bourg wrote:
> Le 11/11/2017 à 19:26, Miguel Landaeta a écrit :
> 
> > 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.
> 
> Thank you Miguel! You can even remove the 2.x suffix from the symlink.
> Feel free to upload the update.

No problem, I uploaded the fix hours ago.

I prefer to see that symlink renamed in a future Maven upstream release
upload.

We'd need to coordinate that symlink rename with other packages like
maven-debian-helper, for instance [1].

Cheers,
Miguel.


1. 
https://anonscm.debian.org/cgit/pkg-java/maven-debian-helper.git/tree/share/perl/maven.pm#n31

-- 
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


signature.asc
Description: PGP signature


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

2017-11-11 Thread Emmanuel Bourg
Le 11/11/2017 à 19:26, Miguel Landaeta a écrit :

> 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.

Thank you Miguel! You can even remove the 2.x suffix from the symlink.
Feel free to upload the update.

Emmanuel Bourg



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

2017-11-11 Thread Miguel Landaeta
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


signature.asc
Description: PGP signature