maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Grebe (JIRA)" <>
Subject [jira] [Created] (MNG-6193) Properties not working in parent version tag
Date Fri, 24 Mar 2017 10:18:41 GMT
Niklas Grebe created MNG-6193:

             Summary: Properties not working in parent version tag
                 Key: MNG-6193
             Project: Maven
          Issue Type: Bug
            Reporter: Niklas Grebe
            Priority: Minor
         Attachments: pom.xml

Using properties in the parent version tag isn't working and gives an error:
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for Failure to find
org.springframework.boot:spring-boot-starter-parent:pom:${spring.boot.version} in
was cached in the local repository, resolution will not be reattempted until the update interval
of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local
POM @ line 19, column 10
It seems like the ${} isn't replaced in the parent version tag. I've added my test
pom.xml as an attachment. If you replace the ${spring.boot.version} with the actual version
it works fine.

This message was sent by Atlassian JIRA

View raw message