maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sewe <s...@st.informatik.tu-darmstadt.de>
Subject Accessing child of <licenses> using property syntax?
Date Thu, 07 Jul 2016 15:15:16 GMT
Hi,

I vaguely recall having read the answer to this one years ago, but
googling and searching through the Apache JIRA didn't turn it up again. :-(

Is it possible to access a single child element of <licenses> POM
element using ${} property syntax? I tried

  ${project.licenses.1.url}
  ${project.licenses.1.license.url}
  ${project.licenses.license.1.url}
  ${project.licenses.0.url}
  ${project.licenses.0.license.url}
  ${project.licenses.license.0.url}

but to no avail.

Any pointers are greatly appreciated.

Andreas

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


Mime
View raw message