Bug#1057499: exec-maven-plugin: FTBFS with default Java 21

Vladimir Petko vpa1977 at gmail.com
Tue Dec 5 20:58:36 GMT 2023


Source: exec-maven-plugin
Version: 3.1.0-1
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package exec-maven-plugin ftbfs with default Java 21.
The relevant part of the build log:
---------------
[debug] Executing command line: [87d93691-729e-4dab-8a26-f43dfd1f99a9, --version]
[debug] Executing command line: [87d93691-729e-4dab-8a26-f43dfd1f99a9, --version]
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.076 s - in org.codehaus.mojo.exec.ExecMojoTest
[INFO] Running org.codehaus.mojo.exec.ExecJavaMojoTest
[ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.148 s <<< FAILURE! - in org.codehaus.mojo.exec.ExecJavaMojoTest
[ERROR] testUncooperativeThread(org.codehaus.mojo.exec.ExecJavaMojoTest)  Time elapsed: 4.366 s  <<< ERROR!
java.lang.UnsupportedOperationException
	at org.codehaus.mojo.exec.ExecJavaMojoTest.execute(ExecJavaMojoTest.java:320)
	at org.codehaus.mojo.exec.ExecJavaMojoTest.execute(ExecJavaMojoTest.java:284)
	at org.codehaus.mojo.exec.ExecJavaMojoTest.testUncooperativeThread(ExecJavaMojoTest.java:209)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ExecJavaMojoTest.testUncooperativeThread:209->execute:284->execute:320 » UnsupportedOperation
[INFO]
[ERROR] Tests run: 18, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21.390 s
[INFO] Finished at: 2023-09-29T09:39:07Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project exec-maven-plugin: There are test failures.
---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the pkg-java-maintainers mailing list