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 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,

Andreas


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


Mime
View raw message