Skip to content
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

Publish public doc for Spring Boot 3 upgrade of a rules_spring service (e.g. OpenRewrite) #230

Open
plaird opened this issue Dec 16, 2024 · 0 comments

Comments

@plaird
Copy link
Contributor

plaird commented Dec 16, 2024

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.

Existing docs:

boot_launcher_class attribute change
The top level README explains the boot launcher change necessary.

Javax -> Jakarta package changes
We already have a focused javax->jakarta doc, but there is a lot more to this.

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

No branches or pull requests

1 participant