You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2019/02/22 22:19:00 UTC

[jira] [Commented] (MNG-6599) unknown version in model id when version is defined from parent

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

Hervé Boutemy commented on MNG-6599:
------------------------------------

fix in branch https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=b9a5a21f043563e96e27b579c559685b88073872

> unknown version in model id when version is defined from parent
> ---------------------------------------------------------------
>
>                 Key: MNG-6599
>                 URL: https://issues.apache.org/jira/browse/MNG-6599
>             Project: Maven
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.6.0
>            Reporter: Hervé Boutemy
>            Assignee: Hervé Boutemy
>            Priority: Major
>             Fix For: 3.6.1
>
>
> working on MPH-160 limitation
> bq. parent POM version is not recognized, leading to suboptimal output "<!-- org.apache.maven.plugins:maven-plugins:[unknown-version] /home/herve/.m2/repository/org/apache/maven/plugins/maven-plugins/33/maven-plugins-33.pom, line 198 -->"
> if we look at this pom:
> {code:xml}<project>
>   <parent>
>     <groupId>org.apache.maven</groupId>
>     <artifactId>maven-parent</artifactId>
>     <version>33</version>
>   </parent>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-plugins</artifactId>
>   <packaging>pom</packaging>
> ...{code}
> the fact that version is not defined as project.version but should be extrapolated from project.parent.version seems to cause the issue in model id calculation for input source tracking



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)