pom properties feature does not support hierarchy
-------------------------------------------------

                 Key: BUILDR-618
                 URL: https://issues.apache.org/jira/browse/BUILDR-618
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.4.6
         Environment: jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java 
HotSpot(TM) 64-Bit Server VM 1.6.0_26) [Windows 7-amd64-java]
            Reporter: kafka liu


It seems that buildr does not support such properties setting in pom.xml.
Since many artifacts, such as cxf-parent, are using such setting, it will block 
the build process.

<project>
  <properties>
    <a.version>${b.version}</a.version>
    <b.version>1.1</b.version>
  </properties>
  <artifactId>app</artifactId>
  <groupId>group</groupId>
  <dependencies>
    <dependency>
      <artifactId>library</artifactId>
      <groupId>org.example</groupId>
      <version>${a.version}</version>
      <scope>runtime</scope>
      <exclusions>
        <exclusion>
          <groupId>javax.mail</groupId>
          <artifactId>mail</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</project>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to