I’d be interested to know the exact capabilities/requirements you supply and that are generated.
If these capabilities/requirements are from DS components you should be able to turn off generation in a bnd.bnd file with -dsannotations-options:nocapabilities,norequirements I haven’t used the maven-bundle-plugin in some time, but if you are using it with in-pom xml configuration I think you say something like <_dsannotations-options>nocapabilities,norequirements</_dsannotations-options> Hope this helps david jencks > On Dec 12, 2017, at 9:58 AM, Kerry <karaf-u...@avionicengineers.com> wrote: > > Hi, > > First of all I have asked this question already on StackOverflow so apologies > for 'duplicating' : > > https://stackoverflow.com/questions/47738402/override-require-capability-in-maven-bundle-plugin > > I short, the Maven bundle plugin is duplicating my 'Require-Capability' > headers I manually set in the plugin configuration. This is because the > plugin is auto-generating the same headers as well as including my own > manually set ones. I need to override the 'resolution' attribute to become > optional (this is probably not ideal but it's the only way I can create a > single Apache Karaf feature to install all my own bundles and other features > and not fail on deploy). > > Is there a way I can get the plugin to merge or use my manually specified > 'Require-Capability' headers? > > Thanks > > Kerry > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org > For additional commands, e-mail: users-h...@felix.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org