Skip to content

Added a new simple scenario: rule, FindSourceFiles recipe able to aut…#202

Merged
cmoulliard merged 1 commit intomainfrom
add-autoformat-rule-recipe
Jan 15, 2026
Merged

Added a new simple scenario: rule, FindSourceFiles recipe able to aut…#202
cmoulliard merged 1 commit intomainfrom
add-autoformat-rule-recipe

Conversation

@cmoulliard
Copy link
Copy Markdown
Member

@cmoulliard cmoulliard commented Jan 14, 2026

  • Added a new simple scenario: rule, FindSourceFiles recipe able to autoformat a java project
  • Fix the error as the preconditionResult was not returned when precondition succeeded

Remark: The composite yaml recipes created when we generate it to execute the transform command should be improved as today it will be always equal to the value defined here migration.provider.openrewrite.composite-recipe-name=dev.snowdrop.openrewrite.java.SpringToQuarkus

Question: Should we use such a syntax to find java files source.file is '**/*.java' as when (pre)condition ? @aureamunoz

…oformat a project

Signed-off-by: Charles Moulliard <cmoulliard@ibm.com>
@cmoulliard cmoulliard requested a review from aureamunoz January 14, 2026 17:09
@cmoulliard cmoulliard merged commit 11ee3d7 into main Jan 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants