Skip to content

Allow to ignore a sub-recipe #3252

Answered by timtebeek
adriil asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adriil ; There's not currently a way to exclude certain recipes, as it get's complicated quickly with the way recipes chain one another, and the assumptions they each build upon in having the code in a certain state.

That said, for your particular use case here it sounds like you'd be interested in the work started in openrewrite/rewrite-spring#351 ; there we're considering having separate recipes that decouple the spring migrations from one another, such that you can run the individual spring minor version migrations without getting the chained junit 5 migration with each. Would that help you through here?

As a side note: I think Spring Boot 3 dropped support for JUnit 4, at least fo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants