Skip to content

Create sample demonstrating Spring Security upgrades through OpenRewrite #154

@timtebeek

Description

@timtebeek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions