From 3e5c501f385826657207962871a456ea4ccc69dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Tue, 7 Apr 2026 21:13:17 +0200 Subject: [PATCH 1/2] fix: remove unused org.slf4j imports from test manifests Remove Import-Package: org.slf4j from three test manifests where no source file references SLF4J (check.ui.test, xtext.test, xtext.test.core). Retain org.slf4j in test.ui (SwtBot). Co-Authored-By: Claude Opus 4.6 (1M context) --- com.avaloq.tools.ddk.check.ui.test/META-INF/MANIFEST.MF | 3 +-- com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF | 2 +- com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/com.avaloq.tools.ddk.check.ui.test/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.check.ui.test/META-INF/MANIFEST.MF index c475c69de..bf21036e7 100644 --- a/com.avaloq.tools.ddk.check.ui.test/META-INF/MANIFEST.MF +++ b/com.avaloq.tools.ddk.check.ui.test/META-INF/MANIFEST.MF @@ -29,8 +29,7 @@ Require-Bundle: com.avaloq.tools.ddk.check.ui, Export-Package: com.avaloq.tools.ddk.check.ui.test, com.avaloq.tools.ddk.check.ui.test.util, com.avaloq.tools.ddk.check -Import-Package: org.slf4j, - org.hamcrest.core, +Import-Package: org.hamcrest.core, org.junit.runner;version="4.5.0", org.junit.runner.manipulation;version="4.5.0", org.junit.runner.notification;version="4.5.0", diff --git a/com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF index 47dd4106a..820ccc4b2 100644 --- a/com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF +++ b/com.avaloq.tools.ddk.xtext.test.core/META-INF/MANIFEST.MF @@ -26,7 +26,7 @@ Require-Bundle: com.avaloq.tools.ddk.xtext, org.eclipse.emf.common, com.avaloq.tools.ddk, junit-jupiter-api -Import-Package: org.slf4j, org.apache.logging.log4j +Import-Package: org.apache.logging.log4j Export-Package: com.avaloq.tools.ddk.xtext.test, com.avaloq.tools.ddk.xtext.test.contentassist, com.avaloq.tools.ddk.xtext.test.conversion, diff --git a/com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF b/com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF index 9da79bec6..0fe705076 100644 --- a/com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF +++ b/com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF @@ -45,8 +45,7 @@ Import-Package: com.avaloq.tools.ddk.check.runtime.test.core, com.avaloq.tools.ddk.xtext.test.export, com.avaloq.tools.ddk.xtext.test.format, com.avaloq.tools.ddk.xtext.ui.test, - org.apache.logging.log4j, - org.slf4j + org.apache.logging.log4j Export-Package: com.avaloq.tools.ddk.xtext, com.avaloq.tools.ddk.xtext.formatter, com.avaloq.tools.ddk.xtext.formatter.services, From 54323cc9e557c5206e13128fecefbf3c31385047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Tue, 7 Apr 2026 21:13:37 +0200 Subject: [PATCH 2/2] fix: suppress SLF4J startup warning in Tycho test runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set -Dslf4j.internal.verbosity=ERROR in the Tycho Surefire argLine. SLF4J 2.x uses ServiceLoader for provider discovery, which doesn't work across OSGi classloaders — the warning is cosmetic (SLF4J defaults to NOP regardless). This is the documented suppression mechanism since SLF4J 2.0.10. Co-Authored-By: Claude Opus 4.6 (1M context) --- com.avaloq.tools.ddk.xtext.test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.avaloq.tools.ddk.xtext.test/pom.xml b/com.avaloq.tools.ddk.xtext.test/pom.xml index 4a30dfc6a..c7ac764fb 100644 --- a/com.avaloq.tools.ddk.xtext.test/pom.xml +++ b/com.avaloq.tools.ddk.xtext.test/pom.xml @@ -24,7 +24,7 @@ false true ${test.timeout} - -Dlogback.configurationFile="${runtime.logbackConfig}" ${test.javaOptions} + -Dslf4j.internal.verbosity=ERROR -Dlogback.configurationFile="${runtime.logbackConfig}" ${test.javaOptions} -pluginCustomization ${runtime.pluginCustomization} ${runtime.product} org.eclipse.ui.ide.workbench