Removes commons-lang:2.6 from core#26105
Conversation
|
A spreadsheet of plugins that need to have commons-lang 2 removed is included in issue: The spreadsheet is out of date. Git plugin 5.8.0 removed the commons-lang2 dependency, as one example. |
|
There is also a suggestion for an addition to the Jenkins plugin pom file that will help avoid accidental insertion of references to commons-lang 2. The idea is described in issue: |
I can work on that. |
|
I cannot reproduce the test failure locally. Would it be possible to re-run the pull request build? |
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-lang</groupId> | ||
| <artifactId>commons-lang</artifactId> |
There was a problem hiding this comment.
What's the plan for rolling this out?
Example:
- As there's so many plugins making this a detached plugin?
- Fixing the majority of the plugins in the spreadsheet
- Something else?
There was a problem hiding this comment.
For now, I want to see with the BOM if we have critical plugins broken with this removal. The security advisory of Commons Lang 2.6 has been out there for a longtime now and we need to stop from suffering from it.
Fixing all the plugins in the spreadsheet is not really feasible. Fixing the top 250 probably.
There was a problem hiding this comment.
and with jenkinsci/plugin-pom#1338 (comment), it might go rather quickly
I updated the spreadsheet for the first 100 plugins. |
A follow up of #10886
Commons Lang 2.6 as a security advisory and is not maintained. Removing it from core is the best path forward.
Fixes #16404
Testing done
Build the project locally. Expecting to get test results from CI and then use the incremental version to build jenkinsci/bom.
Proposed changelog entries
Proposed changelog category
/label developer
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@mention
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered.