maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sewe <>
Subject Re: Accessing child of <licenses> using property syntax?
Date Fri, 08 Jul 2016 14:09:49 GMT
Sebastian Hoß wrote:
> ${project.licenses[0].url} should do the trick

Thanks, Sebastian. Works like a charm.

Now I can generate even nicer OSGi Bundle-License headers than with the
maven-bundle-plugin's defaults:

> <Bundle-License>${project.licenses[0].url};description="${project.licenses[0].name}"</Bundle-License>

Best wishes,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message