Emmanuel Bourg pushed to branch master at Debian Java Maintainers / surefire


Commits:
bc1acba6 by Emmanuel Bourg at 2026-11-21T12:14:41+01:00
No longer embed slf4j-api 1.7 in surefire-shared-utils

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/shared-utils-exclude-slf4j.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+surefire (3.5.6-4) unstable; urgency=medium
+
+  * Team upload.
+  * No longer embed slf4j-api 1.7 in surefire-shared-utils
+
+ -- Emmanuel Bourg <[email protected]>  Sat, 21 Nov 2026 12:04:11 +0100
+
 surefire (3.5.6-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ shared-utils-optional-shaded-dependencies.patch
 disable-doclint.patch
 maven-shared-utils-compatibility.patch
 restore-forkmode-parameter.patch
+shared-utils-exclude-slf4j.patch


=====================================
debian/patches/shared-utils-exclude-slf4j.patch
=====================================
@@ -0,0 +1,23 @@
+Description: No longer embed slf4j-api 1.7 in surefire-shared-utils since it 
prevents the tests from using the slf4j 2 providers
+ Upstream builds surefire-shared-utils with maven-shared-utils 3.3.4. Debian 
has
+ maven-shared-utils 3.4, and its new dependency on slf4j-api leads the shade
+ plugin to embed the slf4j 1.7 classes into surefire-shared-utils. This jar
+ comes before the test dependencies on the classpath, and the slf4j 2 providers
+ expected by the tests (logback for example) are never found.
+Author: Emmanuel Bourg <[email protected]>
+Forwarded: not-needed
+--- a/surefire-shared-utils/pom.xml
++++ b/surefire-shared-utils/pom.xml
+@@ -44,6 +44,12 @@
+       <artifactId>maven-shared-utils</artifactId>
+       <scope>runtime</scope>
+       <optional>true</optional>
++      <exclusions>
++        <exclusion>
++          <groupId>org.slf4j</groupId>
++          <artifactId>slf4j-api</artifactId>
++        </exclusion>
++      </exclusions>
+     </dependency>
+     <dependency>
+       <groupId>commons-io</groupId>



View it on GitLab: 
https://salsa.debian.org/java-team/surefire/-/commit/bc1acba68abd79a1be69c4dc0d831564ffe0a36a

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/surefire/-/commit/bc1acba68abd79a1be69c4dc0d831564ffe0a36a
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to