Your message dated Tue, 19 Jan 2021 17:04:09 +0100
with message-id <[email protected]>
and subject line Re: Bug#901881: maven: Missing Dependency on default-jdk
has caused the Debian Bug report #901881,
regarding maven: Missing Dependency on default-jdk
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
901881: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901881
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: maven
Version: 3.5.3-1
Severity: important

Dear Maintainer,

After upgrade to version 3.5.3 for some reason I was getting the following 
error 
running `mvn clean package -U` :
--------------------------------------------------
Exception in thread "main" java.lang.NoSuchMethodError: 
java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer;
        at 
org.eclipse.aether.connector.basic.ChecksumCalculator.update(ChecksumCalculator.java:202)
        at 
org.eclipse.aether.connector.basic.TransferTransportListener.transportProgressed(TransferTransportListener.java:90)
        at 
org.eclipse.aether.transport.wagon.WagonTransferListener.transferProgress(WagonTransferListener.java:64)
        at 
org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress(TransferEventSupport.java:121)
        at 
org.apache.maven.wagon.AbstractWagon.fireTransferProgress(AbstractWagon.java:594)

After some guessings I tried to build the maven package myself, in the process 
I realized
that I did not have installed openjdk-10 just openjdk-8, after the intalling 
openjdk-10
maven started to work like a charm 

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages maven depends on:
ii  default-jre-headless [java7-runtime-headless]     2:1.10-67
ii  libjansi-java                                     1.16-1
ii  libmaven3-core-java                               3.5.3-1
ii  libwagon-file-java                                3.0.0-2
ii  libwagon-http-shaded-java                         3.0.0-2
ii  openjdk-10-jre-headless [java7-runtime-headless]  10.0.1+10-4
ii  openjdk-8-jre-headless [java7-runtime-headless]   8u171-b11-2

maven recommends no packages.

maven suggests no packages.

-- Configuration Files:
/etc/maven/settings.xml changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
The Maven dependencies were modified to remain compatible with Java 8
(the stacktrace reported in this bug was related to maven-resolver,
which was fixed in the version 1.1.1-2 uploaded in July 2018).

maven/3.6.0-1 in buster and maven/3.6.3-1 in testing work perfectly with
Java 8.

Emmanuel Bourg

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to