You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/28 15:04:02 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=17069817#comment-17069817 ] 

Hudson commented on MNG-6599:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> 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: Herve Boutemy
>            Assignee: Herve 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
(v8.3.4#803005)