-
Notifications
You must be signed in to change notification settings - Fork 169
Replace commons-lang with org.apache.commons:commons-lang3 #2863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace commons-lang with org.apache.commons:commons-lang3 #2863
Conversation
Signed-off-by: Mark Wu <[email protected]>
Signed-off-by: Mark Wu <[email protected]>
feda531 to
637dcc6
Compare
Signed-off-by: Mark Wu <[email protected]>
61f0d18
into
opensearch-project:main
|
Hey @markwu-sde this broke other plugins that depend on both neural-search and knn: I think this dependency needs to be |
|
Yeah - previously we were using the legacy common lang package and so we weren't running into compile issues since I think neural plugin already moved over to common-lang3 a while ago. I'll send out another PR for this. |
|
No worries and no great rush. Might want to look at your other api dependencies while you're at it. :) |
|
@markwu-sde neural plugin is also failing with jar hell |
|
@owaiskazi19 can we have the neural-plugin reference the version catalog library instead? I'm not sure exactly why we're extending the common-lang library so will need to do a little more digging on that |
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.19 2.19
# Navigate to the new working tree
cd .worktrees/backport-2.19
# Create a new branch
git switch --create backport/backport-2863-to-2.19
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 61f0d18401fdb2d3a018a1c13ef8c867e2e60b97
# Push it to GitHub
git push --set-upstream origin backport/backport-2863-to-2.19
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.19Then, create a pull request where the |
|
Hi folks, |
|
@VijayanB please check this |
|
@navneet1v @gaiksaya Will do manual backport and update here |
Description
Make build.gradle use the version library for commons-lang3 and slf4j. This should fix the vulnerability CVE-2025-48924 and avoid us having to bump versions to be the same with core.
Related Issues
Resolves CVE-2025-48924
Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.