-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
TODO
Bump the version of the recipes used within the project like to find a better way to consume it: pom version, property, etc
OpenRewriteQueryScanner class
public class OpenRewriteQueryScanner implements QueryScanner {
...
// Recipe's jar files
String gavs = "org.openrewrite:rewrite-java:8.71.0,"
+ "org.openrewrite.recipe:rewrite-java-dependencies:1.49.0,"
+ "dev.snowdrop.mtool:openrewrite-recipes:1.0.5";and
OpenRewriteQueryScanner
class MatchServiceCookBookTest extends BaseRulesTest {
...
// OpenRewrite Instructions
Rule.Openrewrite[] openrewriteInstructions = new Rule.Openrewrite[]{new Rule.Openrewrite(
"Replace the SpringBoot parent dependency with Quarkus BOM within the pom.xml file",
"Replace the SpringBoot parent dependency with Quarkus BOM within the pom.xml file.", null, // preconditions
null, // recipeList (aquí podrías añadir los recipes si los necesitas)
new String[]{"dev.snowdrop.mtool:openrewrite-recipes:1.0.0-SNAPSHOT",
"org.openrewrite:rewrite-maven:8.62.4"})};
...Idem too for the rewrite-java and rewrite-java-dependencies jar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels