Add a Quarkus configuration property

Apache 2.0

Add a Quarkus configuration property to an existing configuration file if it does not already exist in that file.

org.openrewrite.quarkus.AddQuarkusProperty

Required

The property key to add.

The value of the new property key.

Optional

A comment that will be added to the new property.

The profile to add the property to. If not specified, the property will be added to the default profile.

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.AddQuarkusProperty \ -P property=quarkus.http.port \ -P value=9090

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