On 13 March 2010 21:04, sebb <[email protected]> wrote:

> The Bundle plugin seems to include any properties defined in
> settings.xml as headers in the generated manifest if the property
> starts with a capital letter and have more than on letter, e.g.
>
> <A>does not appear</A>
> <ab>does not appear</ab>
> <Cd>appears</Cd>
> <EF>appears</EF>
>
> Is there any way to exclude certain properties from appearing in the
> manifest?
> [Apart from the obvious, of ensuring that they don't start with a
> capital letter]
>

You can tell Bnd to remove properties from the final manifest:

  -removeheaders    LIST of string
  "Removes the given headers from the output manifest"

(taken from Bnd Directives part of http://aqute.biz/Code/Bnd)

Remember this instruction will be <_removeheaders> if you
put it in the pom.xml, because XML tags can't start with a '-'


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

-- 
Cheers, Stuart

Reply via email to