Skip to content

fix(examples): align the Jakarta REST API version with CXF - #2871

Open
holgerfriedrich wants to merge 1 commit into
apache:mainfrom
holgerfriedrich:pr-rs-api
Open

holgerfriedrich wants to merge 1 commit into
apache:mainfrom
holgerfriedrich:pr-rs-api

Conversation

@holgerfriedrich

@holgerfriedrich holgerfriedrich commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

The REST example modules compiled against jakarta.ws.rs-api 4.0.0, so their manifests required jakarta.ws.rs [4.0,5). CXF 4.2.3 imports [3,4), meaning the API bundle it resolves against can never satisfy the example bundles.

Compile against 3.1.0 instead, the version matching CXF 4.x. The SCR module has no declaration of its own and inherited 4.0.0 through CXF, so pin it explicitly.

This PR was created with help from AI.

Two more PRs in the pipeline, requiring 2869 and 2871.

The REST example modules compiled against jakarta.ws.rs-api 4.0.0, so their
manifests required jakarta.ws.rs [4.0,5). CXF 4.2.3 imports [3,4), meaning the
API bundle it resolves against can never satisfy the example bundles.

Compile against 3.1.0 instead, the version matching CXF 4.x. The SCR module has
no declaration of its own and inherited 4.0.0 through CXF, so pin it explicitly.

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

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Test Results

  705 files  ±0    705 suites  ±0   1h 14m 39s ⏱️ - 1m 41s
  946 tests ±0    898 ✅ ±0   48 💤 ±0  0 ❌ ±0 
2 838 runs  ±0  2 694 ✅ ±0  144 💤 ±0  0 ❌ ±0 

Results for commit bcb2699. ± Comparison against base commit 327ea0d.

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.

1 participant