Re: Unable to resolve 'org.osgi.service.component.annotations'

2016-10-17 Thread David Jencks
Why? these are the OSGI spec annotations processed by bnd. They are not used at runtime and there should be no such wiring requirement. Perhaps the bnd instructions say to import the package? david jencks > On Oct 17, 2016, at 7:31 AM, Christian Schneider > wrote: >

java.lang.SecurityException: Insufficient roles/credentials for operation

2016-10-17 Thread Andrew Hughes
Hi All, In advance, I will apologies for my lack of knowledge of karaf. I am trying profile a (closed source) third party application, it uses karaf v3.0.3 using visualvm (jdk 1.8 on windows 64bit). I managed to successfully/easily connect visualvm with an older version of the software that

Unable to resolve 'org.osgi.service.component.annotations'

2016-10-17 Thread Jens Reimann
Hi, 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.component.annotations)(version>=1.2.0))" --- Having a look at a possible

Re: Unable to resolve 'org.osgi.service.component.annotations'

2016-10-17 Thread Christian Schneider
You need to install the scr feature. Christian On 17.10.2016 15:05, Jens Reimann wrote: Hi, using the SCR annotations and trying perform "mvn verify" on a feature referencing this bundle results in the following resolution error: --- osgi.wiring.package;

Re: Unable to resolve 'org.osgi.service.component.annotations'

2016-10-17 Thread Toni Menzel
Sure to make it work but are the annotations processed at runtime? Don't hope so. On Monday, 17 October 2016, Christian Schneider wrote: > You need to install the scr feature. > > Christian > > On 17.10.2016 15:05, Jens Reimann wrote: > > Hi, > > using the SCR

Re: Unable to resolve 'org.osgi.service.component.annotations'

2016-10-17 Thread Toni Menzel
Hi Jens, 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