Comment out Spring properties
MSALAdd comment to specified Spring properties, and optionally comment out the property.
org. openrewrite. java. spring. CommentOutSpringPropertyKeyRequired
The name of the property key to comment out.
Comment to replace the property key.
Optional
commentOutPropertyBoolean
If false the property is kept and only the comment is added. Defaults to true.
mod run . --recipe= org. openrewrite. java. spring. CommentOutSpringPropertyKey \
-P propertyKey= management. metrics. binders. files. enabled \
-P comment= 'This property is deprecated and no longer applicable starting from Spring Boot 3.0. x'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.