Skip to content

fix(examples): use the Jakarta REST variants of the Jackson JSON provider - #2869

Open
holgerfriedrich wants to merge 1 commit into
apache:mainfrom
holgerfriedrich:pr-jackson-jakarta
Open

holgerfriedrich wants to merge 1 commit into
apache:mainfrom
holgerfriedrich:pr-jackson-jakarta

Conversation

@holgerfriedrich

Copy link
Copy Markdown
Contributor

The com.fasterxml.jackson.jaxrs artifacts implement JAX-RS 2.x and import javax.ws.rs; jackson-module-jaxb-annotations likewise imports javax.xml.bind. Karaf 4.5 ships neither package, so the REST example bundles referencing them cannot resolve.

Switch the remaining references to the jakarta.rs and jakarta-xmlbind variants. The SCR and CXF client modules already used them; this covers the Jersey client, the Blueprint provider bean and the feature.

…ider

The com.fasterxml.jackson.jaxrs artifacts implement JAX-RS 2.x and import
javax.ws.rs; jackson-module-jaxb-annotations likewise imports javax.xml.bind.
Karaf 4.5 ships neither package, so the REST example bundles referencing them
cannot resolve.

Switch the remaining references to the jakarta.rs and jakarta-xmlbind variants.
The SCR and CXF client modules already used them; this covers the Jersey client,
the Blueprint provider bean and the feature.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Test Results

  705 files  ±0    705 suites  ±0   1h 19m 2s ⏱️ + 1m 15s
  946 tests ±0    898 ✅ ±0   48 💤 ±0  0 ❌ ±0 
2 838 runs  ±0  2 694 ✅ ±0  144 💤 ±0  0 ❌ ±0 

Results for commit 92b542a. ± Comparison against base commit 6e40475.

@holgerfriedrich
holgerfriedrich requested a balanced review from Copilot October 1, 2026 03:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants