${project.licenses[0].url} should do the trick

On Thu, Jul 7, 2016 at 5:15 PM Andreas Sewe <
s...@st.informatik.tu-darmstadt.de> wrote:

> 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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to