rewrite-spring
rewrite-spring copied to clipboard
UpgradeSpringBoot_3_3 setting wrong Spring Cloud version
I am using
- OpenRewrite 5.33.0
- Maven plugin 5.33.0
- rewrite-spring 5.12.0
I am using the Maven plugin, and my project is a single module project.
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.33.0</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3</recipe>
</activeRecipes>
</configuration>
<dependencies>
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-spring</artifactId>
<version>5.12.0</version>
</dependency>
</dependencies>
</plugin>
What did you expect to see / What did you see instead?
When running org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2
Spring Cloud version is set to 2023.0.2
, as expected.
But if we run org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3
instead, the version is set to 2021.0.9
.