maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliotte Rusty Harold (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (MNG-6085) Make the usage of ${project.version} usable in parent element of a multi module build
Date Mon, 23 Dec 2019 12:33:00 GMT

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

Elliotte Rusty Harold resolved MNG-6085.
----------------------------------------
    Resolution: Fixed

I think this is now possible, but if I'm wrong please reopen. 

> 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)

Mime
View raw message