You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (Jira)" <ji...@apache.org> on 2024/07/29 18:04:00 UTC
[jira] [Created] (MNG-8190) Omitting version tag in Parent/Dependency - ModelVersion 4.0.0
Karl Heinz Marbaise created MNG-8190:
----------------------------------------
Summary: 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
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)