You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "malliaridis (via GitHub)" <gi...@apache.org> on 2026/03/27 16:16:25 UTC
[PR] Add jersey BOM to align versions of all jersey dependencies [solr]
malliaridis opened a new pull request, #4244:
URL: https://github.com/apache/solr/pull/4244
https://issues.apache.org/jira/browse/SOLR-XXXXX
# Description
jersey provides a bill of materials that can be used to align all jersey dependencies and manage their versions via the BOM. Right now the only dependency `org.glassfish.jersey.containers:jersey-container-jetty-http` is out-of-sync due to development history of the jersey modules.
# Solution
This PR introduces the jersey BOM, adds it to the only module (`:solr:core`) that includes the jersey dependencies in the `dependencies` block and removes the existing versions of jersey to align them via the BOM.
# Tests
_No tests were added or altered._
# Checklist
Please review the following and check all that apply:
- [ ] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability.
- [ ] I have created a Jira issue and added the issue ID to my pull request title.
- [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
- [ ] I have developed this patch against the `main` branch.
- [ ] I have run `./gradlew check`.
- [ ] I have added tests for my changes.
- [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
- [ ] I have added a [changelog entry](https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc) for my change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Add jersey BOM to align versions of all jersey dependencies [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on code in PR #4244:
URL: https://github.com/apache/solr/pull/4244#discussion_r3002279154
##########
gradle/libs.versions.toml:
##########
@@ -136,8 +136,6 @@ jaxb = "2.3.9"
jayway-jsonpath = "2.9.0"
jctools = "4.0.5"
jersey = "3.1.11"
-# TODO Sync with jersey versions
Review Comment:
love the removal of a TODO!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] SOLR-18082: Add jersey BOM to align versions of all jersey dependencies [solr]
Posted by "malliaridis (via GitHub)" <gi...@apache.org>.
malliaridis merged PR #4244:
URL: https://github.com/apache/solr/pull/4244
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Add jersey BOM to align versions of all jersey dependencies [solr]
Posted by "malliaridis (via GitHub)" <gi...@apache.org>.
malliaridis commented on PR #4244:
URL: https://github.com/apache/solr/pull/4244#issuecomment-4144505101
> Looks like this would get us to "everything matching jersey 3.1.11"?
@epugh Exactly. A bill of materials (BOM), if added correctly to a module (that is with that `platform(...)` notation) takes care of the modules it manages, specifically their versions. So the BOM of jersey that is added will manage all jersey dependencies added to the that module.
However, following this route makes it mandatory to always include the BOM together with the dependencies that do not define a version in the `libs.version.toml` and that are managed by the BOM, because otherwise they may not resolve correctly outside our project (specifically in Maven / pom.xml files).
I will check for any related jira issues to update the PR with a ticket number, and check the POM files to confirm it resolves everything correctly before merging it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org