We have 100+ rules_spring.springboot() usages inside a Bazel monorepo internally. We have developed tooling for helping with the Boot2 -> Boot3 upgrade.

There are almost always manual fixes to do after the tooling runs, but it can solve most of the upgrade. We rely on a combination of: - Docs with a lot of details - OpenRewrite procedure (requires generating a pom.xml using pomgen) - Various caveman bash scripts that invoke sed a lot

90% of this is not specific to Salesforce. We should provide this to other ~victims~ build teams.

Comment From: plaird

Sorry, wrong repo!

How embarrassing. For those curious, this was intended for the rules_spring (Bazel specific toolchain) repo. Now here: https://github.com/salesforce/rules_spring/issues/230

Too many open tabs, sent it to the wrong spot.