Skip to content

Conversation

@dmatej
Copy link
Contributor

@dmatej dmatej commented Dec 19, 2025

  • OSGI configuration was too strict and enforced GlassFish devs to hack Metro to allow later versions without a need to release new Metro. That is contraproductive, so the first commit just sets minimal versions without limiting maximum - just for "normal" dependencies, Jakarta Webservices will be still strict.
  • Removed webservices-extra. I checked Maven Central and I did not find any publicly visible usage for it except Metro. However I believe Metro should rather use proper dependency management. The removal also means that we don't compile our dependencies any more - that failed using updated grizzly 4.1.0-SNAPSHOT which uses syntax available in Java 17, while we still support just Java 11.
  • This PR was tested with GlassFish 8.0.0-SNAPSHOT.

- Metro is released quite rarely while it is still compatible with multiple
  generations of Jakarta EE. It cannot predict which modules can or cannot be
  compatible.
- Current situation forces ie. GlassFish devs to hacking - repackaging Metro
  with patched Manifest file to be able to use Metro together with other
  dependencies which move faster, but are still compatible.
- Compatibility should be defined by testing, not by declarations.
- Something different is relation with own specs, where we strictly declare
  which spec version or range we do implement.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- The module was recompiling dependencies - that is not possible with latest
  grizzly snapshot as we use older Java. It was also hiding dependencies and
  in the future could cause issues with JPMS.
- This commit was tested with GlassFish 8.0.0-SNAPSHOT and passed.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
- After removal of extra I forgot to add dependencies back

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@arjantijms arjantijms merged commit 83bf1ed into eclipse-ee4j:master Dec 20, 2025
3 checks passed
@dmatej dmatej deleted the removed-extra branch December 20, 2025 20:32
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