Delete Quarkus configuration property

Apache 2.0

Delete a property from Quarkus configuration files.

org.openrewrite.quarkus.DeleteQuarkusProperty

Required

The name of the property key whose value is to be deleted.

Optional

Only delete the property value if it matches the configured oldValue.

The profile where the property should be deleted. If not specified, the property will be deleted from all profiles by default.

deleteFromAllProfilesBoolean

If set to true, the property will be removed from all available profiles. Defaults to true.

Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". Separate values with commas.

mod run . --recipe=org.openrewrite.quarkus.DeleteQuarkusProperty \ -P propertyKey=quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy

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