Modernize a Jenkins plugin to the latest recommended versions
MSALThis recipe is intended to change over time to reflect the recommended tooling and recommended Jenkins baseline.
org. openrewrite. jenkins. ModernizePluginmod run . --recipe= org. openrewrite. jenkins. ModernizePluginInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change Maven parent
null:null:4.x - Remove annotation
@org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement - Migrate to HtmlUnit 3.x
- Change Gradle or Maven dependency
org.mockito:mockito-inline - Upgrade property's value to version
- Remove a Gradle or Maven dependency
org.jenkins-ci:symbol-annotation - Add or correct Jenkins plugins BOM
- Rename package name
javax.injecttojakarta.inject