maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Sch├Ątz <>
Subject ${project.parent.parent.version} does not work
Date Fri, 02 Dec 2016 11:31:31 GMT

for a project I would like to resolve the "grandparent" version:


Unfortunately, with Maven 3.3.9 this simply doesn't work, the effective
pom shows it as unresolved:


I can reproduce it with any new probject a simple way is, for example,
using a spring boot project (which should have a parent
(spring-boot-parent) and a grandparent (spring-boot-dependencies):

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""


		<relativePath/> <!-- lookup parent from repository -->




Any ideas how to access the parent.parent.version otherwise?
Unfortunately, I only found closed issues where
${project.parent.parent.version} was given as a workaround...

View raw message