Skip to content

Commit 3ca0f0e

Browse files
joaodinissfclaude
andcommitted
fix: require org.slf4j.binding.nop in test bundle to attach SLF4J binding
The p2 planner does not automatically include fragment bundles in the test runtime unless explicitly required. org.slf4j.binding.nop is an OSGi fragment of org.slf4j.api, so adding Require-Bundle causes Tycho to include it, at which point the OSGi framework attaches it to the org.slf4j.api 1.7.30 host bundle and provides StaticLoggerBinder. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8933959 commit 3ca0f0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com.avaloq.tools.ddk.xtext.test/META-INF/MANIFEST.MF

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Require-Bundle: com.avaloq.tools.ddk.xtext,
3232
junit-vintage-engine,
3333
junit-platform-suite-api,
3434
org.eclipse.xtext.testing,
35-
org.opentest4j
35+
org.opentest4j,
36+
org.slf4j.binding.nop;resolution:=optional
3637
Import-Package: com.avaloq.tools.ddk.check.runtime.test.core,
3738
com.avaloq.tools.ddk.check.test.core,
3839
com.avaloq.tools.ddk.check.test.runtime.tests,

0 commit comments

Comments
 (0)