RE: Using OSGi DS and old Apache Felix SCR together

2017-03-17 Thread Stefan Seifert
: Using OSGi DS and old Apache Felix SCR together > >Hey Stefan, > >I used the plugin in the maven-bundle-plugin, but it seems that some of my >bundles give following exception, any idea what might be causing this? > >[ERROR] Manifest mygroupId:myartifactId:bundle:30.0-SNAPSH

Re: Using OSGi DS and old Apache Felix SCR together

2017-03-17 Thread Roy Teeuwen
Hey Stefan, I used the plugin in the maven-bundle-plugin, but it seems that some of my bundles give following exception, any idea what might be causing this? [ERROR] Manifest mygroupId:myartifactId:bundle:30.0-SNAPSHOT : Got unexpected exception while

RE: Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread Stefan Seifert
>I think the bnd support is for the proprietary bnd annotations, not the >proprietary felix annotations. AFAIR bnd never supported the proprietary >felix scr annotations. no, org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin really hooks in the support for the proprietary felix SCR

Re: Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread David Jencks
velop/maven/aem-global-parent/pom.xml > > >> -Original Message- >> From: Roy Teeuwen [mailto:r...@teeuwen.be] >> Sent: Thursday, March 16, 2017 9:03 AM >> To: users@felix.apache.org >> Subject: Using OSGi DS and old Apache Felix SCR together >> &

Re: Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread Roy Teeuwen
> stefan > > [1] > https://github.com/wcm-io/wcm-io-tooling/blob/develop/maven/aem-global-parent/pom.xml > > >> -Original Message- >> From: Roy Teeuwen [mailto:r...@teeuwen.be] >> Sent: Thursday, March 16, 2017 9:03 AM >> To: users@felix.apach

RE: Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread Stefan Seifert
en [mailto:r...@teeuwen.be] >Sent: Thursday, March 16, 2017 9:03 AM >To: users@felix.apache.org >Subject: Using OSGi DS and old Apache Felix SCR together > >Hey all, > >I am running in a problem when trying to use OSGi DS annotations and Apache >Felix annotations together. I have u

Re: Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread Dominik Przybysz
Hi, 1) You can try to set outputDirectory parameter for felix scr plugin and add this directory to bundle ( http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/apache-felix-maven-scr-plugin-use.html ) 2) Why do you mix these two annotations? 2017-03-16 9:02 GMT+01:00

Using OSGi DS and old Apache Felix SCR together

2017-03-16 Thread Roy Teeuwen
Hey all, I am running in a problem when trying to use OSGi DS annotations and Apache Felix annotations together. I have unit tests that depend on the service xml's being present (I am using the Apache Sling osgi-mock to run unit tests), but the problem that I am facing is that when the