Modernize a Jenkins plugin to the latest versions supported by Java 8

MSAL

This recipe is intended to break down the modernization of very old plugins into distinct steps. It allows modernizing all tooling up to the last versions that supported Java 8. This can then be followed by another recipe that makes the jump to Java 11.

org.openrewrite.jenkins.ModernizePluginForJava8
mod run . --recipe=org.openrewrite.jenkins.ModernizePluginForJava8

Install 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.

  1. Use HTTPS for repositories
  2. Disables local file resolution for parent POM
  3. Add or correct Jenkins plugins BOM
  4. Change Maven parent null:null:4.51
  5. Upgrade property's value to version
  6. Remove redundant explicit dependency and plugin versions
  7. Remove Maven project property java.level