Remove unused properties

Apache 2.0

Detect and remove Maven property declarations which do not have any usage within the project.

org.openrewrite.maven.RemoveUnusedProperties

Optional

A pattern to filter properties to remove. Defaults to .+? to match anything

mod run . --recipe=org.openrewrite.maven.RemoveUnusedProperties

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