-
Hi, I tried to change the parent pom in our projects. Instead of "de.groupId.health-parent-jdk11" i would like to have "de.groupId.health-parent-jdk17". The newVersion attribut seems to disturb, but its a mandatory field. My last try was this: - org.openrewrite.maven.ChangeParentPom:
oldGroupId: de.groupId
oldArtifactId: health-parent-jdk11
newGroupId: de.groupId
newArtifactId: health-parent-jdk17
newVersion: HEAD-SNAPSHOT |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The new version attribute is indeed required, and should be a valid version or version pattern. We support multiple version selectiors, as can be seen here: Hope that helps you get a working recipe there. |
Beta Was this translation helpful? Give feedback.
The new version attribute is indeed required, and should be a valid version or version pattern.
https://docs.openrewrite.org/recipes/maven/changeparentpom
We support multiple version selectiors, as can be seen here:
https://docs.openrewrite.org/reference/dependency-version-selectors#supported-dependency-version-selectors
Hope that helps you get a working recipe there.