diff --git a/spring-data-eclipse-store-migration/src/main/resources/META-INF/rewrite/rewrite.yml b/spring-data-eclipse-store-migration/src/main/resources/META-INF/rewrite/rewrite.yml index e5535c7..f8ae837 100644 --- a/spring-data-eclipse-store-migration/src/main/resources/META-INF/rewrite/rewrite.yml +++ b/spring-data-eclipse-store-migration/src/main/resources/META-INF/rewrite/rewrite.yml @@ -27,3 +27,18 @@ recipeList: artifactId: spring-boot-maven-plugin version: 3.2.2 configuration: --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED + + - org.openrewrite.maven.ChangePluginConfiguration: + groupId: org.springframework.boot + artifactId: spring-boot-maven-plugin + configuration: --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED + + - org.openrewrite.maven.RemoveDependency: + groupId: org.springframework.boot + artifactId: spring-boot-starter-data-jpa + + - org.openrewrite.java.RemoveAnnotation: + # https://docs.openrewrite.org/reference/method-patterns + annotationPattern: '@org.springframework.data.jpa.repository.Query *(..)' + + - org.openrewrite.java.RemoveUnusedImports