You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/23 12:33:00 UTC

[jira] [Closed] (MNG-6085) Make the usage of ${project.version} usable in parent element of a multi module build

     [ https://issues.apache.org/jira/browse/MNG-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold closed MNG-6085.
--------------------------------------

> Make the usage of ${project.version} usable in parent element of a multi module build
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-6085
>                 URL: https://issues.apache.org/jira/browse/MNG-6085
>             Project: Maven
>          Issue Type: Improvement
>          Components: core
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> Based on [a discussion|MNG-5576] it would be nice to make it possible to use {{$&#123;project.version&#125;}} within a parent element which would be more general solution than with {{$&#123;revision&#125;}} etc. 
> The parent:
> {code:xml}
>   <...>
>   <version>1.3.0-SNAPSHOT</version>
>   <modules>
>    <module>child</module>
>     ...
>   </modules>
> {code}
> {code:xml}
>   <parent>
>     <groupId>..</groupId>
>    <artifactId>..</artifactId>
>    <version>${project.version}</version>
>  </parent>
>  <artifactId>child</artifactId>
>   ...
> {code}
> References: https://issues.apache.org/jira/browse/MNG-5576?focusedCommentId=15448357&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15448357



--
This message was sent by Atlassian Jira
(v8.3.4#803005)