Add Maven profile

Apache 2.0

Add a maven profile to a pom.xml file.

org.openrewrite.maven.AddProfile

Required

The profile id.

Optional

activation details of a maven profile, provided as raw XML.

properties of a maven profile, provided as raw XML.

build details of a maven profile, provided as raw XML.

mod run . --recipe=org.openrewrite.maven.AddProfile \ -P id=default

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