Karl Heinz Marbaise created MNG-6085:
----------------------------------------

             Summary: 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 
{{${project.version}}} within a parent element which would be more 
general solution than with {{${revision}}} 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
(v6.3.4#6332)

Reply via email to