timtebeek commented on PR #50: URL: https://github.com/apache/camel-upgrade-recipes/pull/50#issuecomment-3127356086
Thanks all ; unexpected that the tests would be reused indeed; the current workaround works, but would stop all recipes from applying to those files. If you'd want to be more selective as to which recipes are run, then we have such an example here as well, by adding a `rewrite.yml` with just a [subset of recipes from this larger list](https://github.com/openrewrite/rewrite-rewrite/blob/2d0d6ec4a0fc745556c2b90801ca73f09429d91f/src/main/resources/META-INF/rewrite/recipebestpractice.yml#L18-L111) https://github.com/openrewrite/rewrite-maven-plugin/blob/b9e83adde9893d910e08606b5e098facda0f977e/rewrite.yml#L19-L28 You'll want to update the reference here, but other than that we've found that pattern to work quite well: https://github.com/apache/camel-upgrade-recipes/blob/b66c1d2f516680678e81a471135db9f20c92c879/pom.xml#L179 Let me know if you'd want help to find and adopt those patterns to only exclude the recipe that makes the test non-private. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org