Change Maven Project Version
Apache 2.0Change the project version of a Maven pom.xml. Identifies the project to be changed by its groupId and artifactId. If the version is defined as a property, this recipe will only change the property value if the property exists within the same pom.
org. openrewrite. maven. ChangeProjectVersionRequired
The group ID of the maven project to change its version. This can be a glob expression.
The artifact ID of the maven project to change its version. This can be a glob expression.
The new version to replace the maven project version.
Optional
overrideParentVersionBoolean
This flag can be set to explicitly override the inherited parent version. Default false.
mod run . --recipe= org. openrewrite. maven. ChangeProjectVersion \
-P groupId= org. openrewrite \
-P artifactId= '*' \
-P newVersion=8.4.2Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.