${project.licenses[0].url} should do the trick
On Thu, Jul 7, 2016 at 5:15 PM Andreas Sewe <
[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>