Add Maven profile
Apache 2.0Add a maven profile to a pom.xml file.
org. openrewrite. maven. AddProfileRequired
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= defaultInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.