You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From your screenshots it seems you're expecting to replace properties in a pom.xml file; correct? Then you'd want to use the Maven ChangePropertyValue recipe.
I think something like your comment would have helped.
"This recipe is meant to replace properties in application.properties files, or other files ending in .properties. For changing maven or gradle properties check $link"
I tried to change a property's value according to https://docs.openrewrite.org/recipes/properties/changepropertyvalue
I created a rewrite.yml that contained this:
I ran it using mvn org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.activeRecipes=com.yourorg.ChangeOracleJdbc
In console this recipe is not executed:
When changing the recipe to "org.openrewrite.maven.ChangePropertyValue" it works:
Am I using it wrong?
The text was updated successfully, but these errors were encountered: