Rename Maven property key

Apache 2.0

Rename the specified Maven project property key leaving the value unchanged.

org.openrewrite.maven.RenamePropertyKey

Required

The old name of the property key to be replaced.

The new property name to use.

mod run . --recipe=org.openrewrite.maven.RenamePropertyKey \ -P oldKey=junit.version \ -P newKey=version.org.junit

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.