[ https://issues.apache.org/jira/browse/MNG-8224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877184#comment-17877184 ]
Guillaume Nodet commented on MNG-8224: -------------------------------------- Note that this is already partially supported, as the raw->build transformation allows inferring parent version, but only when the location is provided (or in the parent directory, because of the default parent location {{..}}). In addition, the is not a trivial change, as we need to remove the default parent location, else there may be problems because during the validation, the parent location is verified to point to the correct parent pom (matching groupId / artifactId). > Make parent POM version optional if defined in the reactor > ---------------------------------------------------------- > > Key: MNG-8224 > URL: https://issues.apache.org/jira/browse/MNG-8224 > Project: Maven > Issue Type: New Feature > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Priority: Major > Fix For: 4.0.0-beta-4 > > > Within a reactor, if a {{<parent>}} element is defined with {{groupId}} and > {{artifactId}} with no {{version}} specified, and if there's one and only one > POM with the same {{groupId}} and {{artifactId}} in the reactor, thenĀ use > that version. > This should allow to specify only a single {{<version>}} element for common > reactors. -- This message was sent by Atlassian Jira (v8.20.10#820010)