Skip to content

Commit ca738df

Browse files
committed
Recipe JavaxAnnotationsToSpotbugs
1 parent d51b64d commit ca738df

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • plugin-modernizer-core/src/main/resources/META-INF/rewrite

plugin-modernizer-core/src/main/resources/META-INF/rewrite/recipes.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ recipeList:
573573
- io.jenkins.tools.pluginmodernizer.core.recipes.MigrateStaplerAndJavaxToJakarta
574574
- io.jenkins.tools.pluginmodernizer.core.recipes.MigrateAcegiSecurityToSpringSecurity
575575
- io.jenkins.tools.pluginmodernizer.MigrateCommonsLang2ToLang3AndCommonText
576+
- io.jenkins.tools.pluginmodernizer.JavaxAnnotationsToSpotbugs
576577
- io.jenkins.tools.pluginmodernizer.core.recipes.MigrateTomakehurstToWiremock
577578
- io.jenkins.tools.pluginmodernizer.ReplaceIOException2WithIOException
578579
- io.jenkins.tools.pluginmodernizer.RemoveDevelopersTag
@@ -732,3 +733,12 @@ description: This PR migrates the groupId and artifactId to the new artifact and
732733
tags: ['chore']
733734
recipeList:
734735
- io.jenkins.tools.pluginmodernizer.core.recipes.MigrateTomakehurstToWiremock
736+
---
737+
---
738+
type: specs.openrewrite.org/v1beta/recipe
739+
name: io.jenkins.tools.pluginmodernizer.JavaxAnnotationsToSpotbugs
740+
displayName: Migrate `javax.annotations` to SpotBugs annotations.
741+
description: SpotBugs is the [preferred replacement](https://www.jenkins.io/doc/developer/tutorial-improve/replace-jsr-305-annotations/) of JSR-305 annotations for Jenkins plugins.
742+
tags: ['chore']
743+
recipeList:
744+
- org.openrewrite.jenkins.JavaxAnnotationsToSpotbugs

0 commit comments

Comments
 (0)