openrewrite / rewrite-jenkins

OpenRewrite recipes to continuously modernize Jenkins plugins.
Apache License 2.0
6 stars 8 forks source link

Migrate to Jakarta injection imports #29

Closed basil closed 7 months ago

basil commented 10 months ago

If the Jenkins core baseline is 2.401.2 LTS or later, migrate from javax.inject imports to jakarta.inject imports.

timtebeek commented 10 months ago

Linking these here: https://docs.openrewrite.org/recipes/java/migrate/jakarta We likely have what you need already, or are able to add those quite easily.

sghill commented 7 months ago

Now that the recommended Jenkins baseline is 2.401.3, this has become part of the org.openrewrite.jenkins.ModernizePlugin recipe in #53.

A few initial PRs have been sent to plugins, attached to sghill-rewrite/campaigns#2.