-
Hi, the example https://docs.openrewrite.org/tutorials/writing-a-java-refactoring-recipe uses an option to define the fullyQualifiedClassName. I made my recipe with option work with some kind of workaround, in my opinion:
then execute the maven plugin with
So, how should recipes with mandatory options be defined in maven configuration or executed? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @aabeling ; Sorry to see you question wasn't answered sooner; the team wasn't monitoring discussions, but we are now! An issue with a near identical request was since opened over on rewrite-maven-plugin; there's a little more background in that issue, and you can follow that one for any future updates. As you've found you can indeed until the run recipes with a local rewrite.yml, which ought to bridge the gap until the day we support parameters. |
Beta Was this translation helpful? Give feedback.
Hi @aabeling ; Sorry to see you question wasn't answered sooner; the team wasn't monitoring discussions, but we are now!
An issue with a near identical request was since opened over on rewrite-maven-plugin; there's a little more background in that issue, and you can follow that one for any future updates.
As you've found you can indeed until the run recipes with a local rewrite.yml, which ought to bridge the gap until the day we support parameters.