[ https://issues.apache.org/jira/browse/MNG-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878423#comment-17878423 ]
Guillaume Nodet commented on MNG-8190: -------------------------------------- One possibility would be to make the build/consumer pom feature dependant on using 4.1.0 model and remove the {{maven.buildconsumer}} property which can be used to disable the feature. > Omitting version tag in Parent/Dependency - ModelVersion 4.0.0 > -------------------------------------------------------------- > > Key: MNG-8190 > URL: https://issues.apache.org/jira/browse/MNG-8190 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 4.0.0-beta-3 > Reporter: Karl Heinz Marbaise > Priority: Major > Fix For: 4.0.x-candidate > > > Currently I can omit the version tag in a parent definition (or dependency) > in a module with ModelVersion:4.0.0 which is not correct. > This should fail with an appropriate failure message even in Maven 4.0.0+ > We should allow omitting the version tag (parent) in a module only for Maven > 4+ with the ModelVersion 4.1.0 -- This message was sent by Atlassian Jira (v8.20.10#820010)