Skip to content

Fail the build if there are obsolete dependency management overrides#120

Merged
jonesbusy merged 1 commit into
jenkinsci:mainfrom
jonesbusy-automation:plugin-modernizer/banobsoletedependencyoverrides
Jun 6, 2026
Merged

Fail the build if there are obsolete dependency management overrides#120
jonesbusy merged 1 commit into
jenkinsci:mainfrom
jonesbusy-automation:plugin-modernizer/banobsoletedependencyoverrides

Conversation

@jonesbusy

Copy link
Copy Markdown
Contributor

Hello json-path-api developers! 👋

This is an automated pull request created by the Jenkins Plugin Modernizer tool. The tool has applied the following recipes to modernize the plugin:

Ensure the pom.xml contains the property `banObsoleteDependencyOverrides.skip` set to `false`

io.jenkins.tools.pluginmodernizer.BanObsoleteDependencyOverrides

Ensure the pom.xml contains the property `banObsoleteDependencyOverrides.skip` set to `false`.

Why is this important?

The Jenkins plugin parent POM can now detect obsolete dependencyManagement overrides.

Setting <banObsoleteDependencyOverrides.skip>false</banObsoleteDependencyOverrides.skip> opts the plugin into that enforcement so builds fail when a version override is no longer needed or no longer matches the BOM and plugin parent recommendations.

See jenkinsci/plugin-pom#1381 for upstream details.

@jonesbusy jonesbusy requested a review from a team as a code owner June 6, 2026 16:26
@jonesbusy jonesbusy added the dependencies Pull requests that update a dependency file label Jun 6, 2026
@jonesbusy jonesbusy merged commit eeab882 into jenkinsci:main Jun 6, 2026
17 checks passed
@jonesbusy jonesbusy deleted the plugin-modernizer/banobsoletedependencyoverrides branch June 6, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant