Duplicate service components in manifest

I’m getting duplicated Service Components in my manifest file. This comes from an attempt to update from maven-bundle-plugin 2.5.3 to 5.1.2. But the issue replicates in any maven-bundle-plugin version 3.0.0 or greater.

One on the things that maven-bundle-plugin does when going from 2.x to 3.0 is step the bnd tool version.

Does this sound like a known bnd issue or is it more of a maven-bundle-plugin problem?

Any advice gratefully accepted.


Sorry for the late reply, but this sounds like an issue for the maven-bundle-plugin. Might it be possible that you use component annotations and have manual declarations at the same time?