You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/09/20 15:33:00 UTC
[jira] [Commented] (MNG-6042) Properties defined in POM>properties
are not resolved in POM repositories>repository>url
[ https://issues.apache.org/jira/browse/MNG-6042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417696#comment-17417696 ]
Gary D. Gregory commented on MNG-6042:
--------------------------------------
Works OK in Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f).
> Properties defined in POM>properties are not resolved in POM repositories>repository>url
> ----------------------------------------------------------------------------------------
>
> Key: MNG-6042
> URL: https://issues.apache.org/jira/browse/MNG-6042
> Project: Maven
> Issue Type: Bug
> Affects Versions: 3.3.9
> Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
> Maven home: E:\Java\apache-maven-3.3.9
> Java version: 1.7.0_79, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_79\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Reporter: Gary D. Gregory
> Priority: Major
>
> Properties defined in POM>properties are not resolved in POM repositories>repository>url.
> For example:
> {code:xml}
> ...
> <properties>
> ...
> <rs.repo>http://example.com/artifactory</rs.repo>
> </properties>
> <repositories>
> <repository>
> <id>artifactory-libs</id>
> <url>${rs.repo}/libs-release-local</url>
> </repository>
> ...
> </repositories>
> ...
> {code}
> This will give me errors showing {{$\{rs.repo\}/libs-release-local}} instead of the resolved property.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)