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

Create sample demonstrating Spring Security upgrades through OpenRewrite #154

Open
timtebeek opened this issue Mar 22, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@timtebeek
Copy link
Owner

OpenRewrite supports various upgrade recipes related to Spring Security:
https://docs.openrewrite.org/reference/recipes/java/spring/security5
https://docs.openrewrite.org/reference/recipes/java/spring/security6
These can be run individually to upgrade to Spring Boot 5.8 or 6.0, or be run as part of a Sping Boot 3 Migration.

A new sample module can be added that contains a deliberately outdated Spring Security application, which is then upgraded automatically through a simple command:

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:LATEST \
  -Drewrite.activeRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0
@timtebeek timtebeek added the enhancement New feature or request label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant