Skip to content

Commit 421f4e7

Browse files
joaodinissfclaude
andcommitted
Add missing Export-Package to mcp-json-jackson2 and mcp-json-jackson3
Use explicit package names instead of a wildcard glob to avoid embedding mcp-core classes into the jackson module JARs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8fd9903 commit 421f4e7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mcp-json-jackson2/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
Import-Package: io.modelcontextprotocol.json,io.modelcontextprotocol.json.schema, \
4343
*;
4444
Service-Component: OSGI-INF/io.modelcontextprotocol.json.jackson2.JacksonMcpJsonMapperSupplier.xml,OSGI-INF/io.modelcontextprotocol.json.schema.jackson2.JacksonJsonSchemaValidatorSupplier.xml
45+
Export-Package: io.modelcontextprotocol.json.jackson2;version="${project.version}";-noimport:=true, \
46+
io.modelcontextprotocol.json.schema.jackson2;version="${project.version}";-noimport:=true
4547
-noimportjava: true;
4648
-nouses: true;
4749
-removeheaders: Private-Package

mcp-json-jackson3/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
Import-Package: io.modelcontextprotocol.json,io.modelcontextprotocol.json.schema, \
4343
*;
4444
Service-Component: OSGI-INF/io.modelcontextprotocol.json.jackson3.JacksonMcpJsonMapperSupplier.xml,OSGI-INF/io.modelcontextprotocol.json.schema.jackson3.JacksonJsonSchemaValidatorSupplier.xml
45+
Export-Package: io.modelcontextprotocol.json.jackson3;version="${project.version}";-noimport:=true, \
46+
io.modelcontextprotocol.json.schema.jackson3;version="${project.version}";-noimport:=true
4547
-noimportjava: true;
4648
-nouses: true;
4749
-removeheaders: Private-Package

0 commit comments

Comments
 (0)