I defined some properties in my profile in my settings.xml file.  These
properties get resolved correctly unless they are used in a parent
reference.  Is this is a bug?

<profiles>
    <profile>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <app_version>1.0.0</app_version>
      </properties>
    </profile>
</profiles>

Works:

<dependency>
        <artifactId>a</artifactId>
        <groupId>a</groupId>
        <version>${app_version}</version>
</dependency>

Does not work:

<parent>
        <artifactId>a</artifactId>
        <groupId>a</groupId>
        <version>${app_version}</version>
</parent>

Please help. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

Reply via email to