You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andreas Sewe <se...@st.informatik.tu-darmstadt.de> on 2010/10/12 23:11:01 UTC

Property interpolation to access the parent POM?

Hi all,

is it possible to access the parent POM by means of property interpolation?

While the help:evaluate goal correctly interpolates
${project.parent.url}, using the property in the child POM doesn't
trigger interpolation (in neither Maven 2.2 nor 3.0); the string stays
as is. I could only get ${project.parent.groupId},
${project.parent.artifactId}, and ${project.parent.version} to work, but
I guess these simply come from the child POM rather than from the parent.

So, is it possible to access the "real" parent POM at all? And what does
help:evaluate evaluate against?

Best wishes,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org