Skip to content

[MNG-8190] Restrict build pom feature to 4.1.0 model version #9806

@jira-importer

Description

@jira-importer

Karl Heinz Marbaise opened MNG-8190 and commented

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 


Affects: 4.0.0-beta-3

Remote Links:

Backported to: 4.0.0-beta-5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions