org.osgi.service.component.annotations are compile time annotations that
should result in a DS xml file in your bundle.
To make it more clear: they are processed by your build process and should
never appear in your imports.
Can you give an example of your project? What bundle plugin are you using?
Whats your bnd file like?
*Developer Advocates - The Rebaze Way *
*www.rebaze.de <http://www.rebaze.de/> | www.rebaze.com
<http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>*
On Mon, Oct 17, 2016 at 3:05 PM, Jens Reimann <jreim...@redhat.com> wrote:
> using the SCR annotations and trying perform "mvn verify" on a feature
> referencing this bundle results in the following resolution error:
> osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.service.
> Having a look at a possible candidate for this (org.apache.felix :
> org.apache.felix.scr.annotations : 1.11.0) I find that this bundle is not
> a bundle and has no OSGi metadata.
> I am probably doing something wrong. But what is it?
> Thanks for your help
> Jens Reimann
> Senior Software Engineer / EMEA ENG Middleware
> Werner-von-Siemens-Ring 14
> 85630 Grasbrunn
> phone: +49 89 2050 71286
> Red Hat GmbH, www.de.redhat.com,
> Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB
> Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
> Michael O'Neill