Skip to content

3.0.0-M1 Dependency Upgrades #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks
Tracked by #157 ...
fabapp2 opened this issue Jun 13, 2022 · 2 comments · Fixed by #322
Closed
2 tasks
Tracked by #157 ...

3.0.0-M1 Dependency Upgrades #161

fabapp2 opened this issue Jun 13, 2022 · 2 comments · Fixed by #322
Assignees
Labels
3.0.0 Spring Boot 3.0.0

Comments

@fabapp2
Copy link
Contributor

fabapp2 commented Jun 13, 2022

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0.0-M1-Release-Notes#dependency-upgrades

What needs to be done

Verify if any dependency is set to a different version than the one expected by Spring Boot 3 and inform the user about the conflict

Finder

Find all dependencies from the list that are declared in a pom.xml with a version explicitly set.
Also consider dependencies in #167

Recipe

Remove the version

Report

TODO: inform about the implications and required steps to proceed with the upgrade

  • Create finder (implement Sbm30_Finder<T>) to find dependencies managed by Boot with explicit version set
  • Create builder (implement Sbu30_UpgradeSectionBuilder)

Additional Information

Would this make a good "best practices" recipe?
Like: "Find dependencies with explicit version set which should be managed by boot"

@fabapp2 fabapp2 added Boot/Upgrade 3.0.0 Spring Boot 3.0.0 labels Jun 13, 2022
@fabapp2 fabapp2 added this to the Spring Boot Upgrade 3.0 (M3) milestone Jun 13, 2022
@fabapp2 fabapp2 changed the title Spring Boot 3.0.0-M1 Dependency Upgrades 3.0.0-M1 Dependency Upgrades Jun 13, 2022
@sanagaraj-pivotal
Copy link
Contributor

Things to clarify:
We understand the libraries that ship with Boot 3 have changed. this should automagically be upgraded by specifying right parent pom.

What should this recipe do precisely ?

@fabapp2
Copy link
Contributor Author

fabapp2 commented Jul 21, 2022

@sanagaraj-pivotal
The recipe (finder) should find any dependencies that would be managed by spring boot with a declared version set.
The user should be asked to remove the version to make the dependency managed by boot.
Additionally, a recipe is offered which does this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0.0 Spring Boot 3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants