@@ -97,8 +97,8 @@ displayName: Use API plugin instead of direct dependency
9797tags : ['developer']
9898description : Use API plugins instead of direct dependency
9999recipeList :
100- # More API plugin on the list
101100 - io.jenkins.tools.pluginmodernizer.UseJsonApiPlugin
101+ - io.jenkins.tools.pluginmodernizer.UseJsonPathApiPlugin
102102 - io.jenkins.tools.pluginmodernizer.UseGsonApiPlugin
103103 - io.jenkins.tools.pluginmodernizer.UseCompressApiPlugin
104104 - io.jenkins.tools.pluginmodernizer.UseJodaTimeApiPlugin
@@ -124,28 +124,44 @@ recipeList:
124124 artifactId : json
125125---
126126type : specs.openrewrite.org/v1beta/recipe
127+ name : io.jenkins.tools.pluginmodernizer.UseJsonPathApiPlugin
128+ displayName : Use JSON Path API plugin instead of direct dependency
129+ description : Use JSON Path API plugin instead of direct dependency
130+ tags : ['developer']
131+ preconditions :
132+ - io.jenkins.tools.pluginmodernizer.conditions.IsUsingRecommendCoreVersion
133+ recipeList :
134+ - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin :
135+ pluginGroupId : io.jenkins.plugins
136+ pluginArtifactId : json-path-api
137+ pluginVersion : 2.9.0-118.v7f23ed82a_8b_8
138+ replaces :
139+ - groupId : com.jayway.jsonpath
140+ artifactId : json-path
141+ ---
142+ type : specs.openrewrite.org/v1beta/recipe
127143name : io.jenkins.tools.pluginmodernizer.UseAsmApiPlugin
128144displayName : Use ASM API plugin instead of direct dependency
129145description : Use ASM API plugin instead of direct dependency
130146tags : ['developer']
131147preconditions :
132148 - io.jenkins.tools.pluginmodernizer.conditions.IsUsingCoreVersionWithASMRemoved
133149recipeList :
134- - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin :
135- pluginGroupId : io.jenkins.plugins
136- pluginArtifactId : asm-api
137- pluginVersion : 9.7.1-97.v4cc844130d97
138- replaces :
139- - groupId : org.ow2.asm
140- artifactId : asm
141- - groupId : org.ow2.asm
142- artifactId : asm-analysis
143- - groupId : org.ow2.asm
144- artifactId : asm-commons
145- - groupId : org.ow2.asm
146- artifactId : asm-tree
147- - groupId : org.ow2.asm
148- artifactId : asm-util
150+ - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin :
151+ pluginGroupId : io.jenkins.plugins
152+ pluginArtifactId : asm-api
153+ pluginVersion : 9.7.1-97.v4cc844130d97
154+ replaces :
155+ - groupId : org.ow2.asm
156+ artifactId : asm
157+ - groupId : org.ow2.asm
158+ artifactId : asm-analysis
159+ - groupId : org.ow2.asm
160+ artifactId : asm-commons
161+ - groupId : org.ow2.asm
162+ artifactId : asm-tree
163+ - groupId : org.ow2.asm
164+ artifactId : asm-util
149165---
150166type : specs.openrewrite.org/v1beta/recipe
151167name : io.jenkins.tools.pluginmodernizer.UseJodaTimeApiPlugin
@@ -155,13 +171,13 @@ tags: ['developer']
155171preconditions :
156172 - io.jenkins.tools.pluginmodernizer.conditions.IsUsingRecommendCoreVersion
157173recipeList :
158- - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin :
159- pluginGroupId : io.jenkins.plugins
160- pluginArtifactId : joda-time-api
161- pluginVersion : 2.13.0-93.v9934da_29b_a_e9
162- replaces :
163- - groupId : joda-time
164- artifactId : joda-time
174+ - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin :
175+ pluginGroupId : io.jenkins.plugins
176+ pluginArtifactId : joda-time-api
177+ pluginVersion : 2.13.0-93.v9934da_29b_a_e9
178+ replaces :
179+ - groupId : joda-time
180+ artifactId : joda-time
165181---
166182type : specs.openrewrite.org/v1beta/recipe
167183name : io.jenkins.tools.pluginmodernizer.UseGsonApiPlugin
0 commit comments