[ 
https://issues.apache.org/jira/browse/MNG-8190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877523#comment-17877523
 ] 

Guillaume Nodet commented on MNG-8190:
--------------------------------------

The raw -> build transformation and the consumer pom feature was designed way 
before the 4.1.0 model was introduced.
Btw, the fields that are now optional are not flagged as such in the MDO.  That 
needs to be fixed, though I don't think this currently has any effect on 
anything.

> 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)

Reply via email to