>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
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.
I also think that bnd (and thus the maven-bundle-plugin) runs and generates
the xml after the unit tests run, so that you
Hey Stefan,
Thanks, thats exactly what I need! And yes, we are in the process of making all
the new services in OSGi DS annotations and gradually migrating the Apache
Felix SCR annotations to the new OSGi DS, but this will help to make it an
incremental process instead of having to do
you should not use the maven-scr-plugin at all in this case - there is a bnd
plugin for the old felix SCR annotations that does the same job.
so use only maven-bundle-plugin and add an instruction
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
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
6 matches
Mail list logo