spring-boot-migrator
spring-boot-migrator copied to clipboard
Apply `initialize-spring-boot-migration` on a Boot application might downgrade Boot version
Describe the bug
Scanning the (see zip) Spring Boot application and applying initialize-spring-boot-migration downgrades the Spring Boot version from 2.7.4 to 2.7.3
To Reproduce see above
Expected behavior The version should be untouched if it is same or more recent than the declared version.
In the above project the condition to check if a project is a Spring app is by checking if the app uses SpringBootApplication Annotation in the project since the above project does not import appropriate jar SpringBootApplication Annotation was not resolved and hence SBM inferred that the project is not a spring project.
Hi @sanagaraj-pivotal But the recipe (some action) downgrades the dependency, this should not happen imho.