Skip to content

Removes Commons Lang 2 usage#124

Merged
malice00 merged 3 commits intojenkinsci:masterfrom
alecharp:chore/commons-lang-2-removal
Feb 10, 2026
Merged

Removes Commons Lang 2 usage#124
malice00 merged 3 commits intojenkinsci:masterfrom
alecharp:chore/commons-lang-2-removal

Conversation

@alecharp
Copy link
Member

@alecharp alecharp commented Feb 3, 2026

Removes usage of Commons Lang 2 from the plugin.
Follow-up of jenkinsci/jenkins#26105 and jenkinsci/bom#6234

Testing done

After fake releasing the parameterized-scheduler with jenkinsci/parameterized-scheduler-plugin#297 content (mvn -Dset.changelist -DskipTests clean install), I could run mvn verify -Djenkins.version=2.549-rc37946.27a_9c5162f85 with success.

I could also validate the BOM when both plugins are updated.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>parameterized-scheduler</artifactId>
<version>374.v531b_4f4d99b_3</version>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it to <dependencyManagement/>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugins was added in BOM 2 years ago. I generally find it a better approach to set the version in the dependencyManagement.

<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>extended-timer-trigger</artifactId>
<version>48.vf99b_c63a_685b_</version>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it to <dependencyManagement/>

@alecharp alecharp marked this pull request as ready for review February 4, 2026 15:49
@alecharp alecharp requested a review from a team as a code owner February 4, 2026 15:49
@alecharp
Copy link
Member Author

alecharp commented Feb 4, 2026

This should be labelled developer and released so that the commons-lang2 removal project can make some progress.

@alecharp alecharp requested a review from malice00 February 4, 2026 17:52
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they are now on bom right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but not in the bom version used by the plugin. I didn't want to enforce a core and bom bump for this pull request.

@malice00
Copy link
Contributor

Thanks. Labelled as requested and will release in a couple of days.

@malice00 malice00 merged commit d094911 into jenkinsci:master Feb 10, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants