Merge an old Spring property into its replacement

Proprietary

Removes the old property where the same file already defines its replacement. When the values differ in a properties file, the replacement is kept and a TODO comment records the old value.

io.moderne.java.spring.cloud.aws.MergeDuplicateSpringProperty

Required

The property key being replaced.

The property key replacing it.

mod run . --recipe=io.moderne.java.spring.cloud.aws.MergeDuplicateSpringProperty \ -P oldPropertyKey=cloud.aws.region.static \ -P newPropertyKey=spring.cloud.aws.region.static

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