Created
February 13, 2025 17:31
-
-
Save muhdkhokhar/b74e60c5a9b4d6a81b472bdc1963930c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.openrewrite.maven</groupId> | |
<artifactId>rewrite-maven-plugin</artifactId> | |
<version>5.40.0</version> <!-- Use latest version --> | |
<configuration> | |
<activeRecipes> | |
<!-- Upgrade to Java 21 --> | |
<recipe>org.openrewrite.java.migrate.Java8toJava21</recipe> | |
<!-- Upgrade to Spring Boot 3 --> | |
<recipe>org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0</recipe> | |
</activeRecipes> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>org.openrewrite.recipe</groupId> | |
<artifactId>rewrite-java</artifactId> | |
<version>5.40.0</version> <!-- Use latest --> | |
</dependency> | |
<dependency> | |
<groupId>org.openrewrite.recipe</groupId> | |
<artifactId>rewrite-spring</artifactId> | |
<version>5.40.0</version> <!-- Use latest --> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment