Hi,

I'm looking at the Eclipse integration netweem the maven-bundle-plugin
and the maven-scr-plugin. For the bundle plugin this is handled by
m2eclipse-tycho [1], while for the scr plugin this is done by the
plugin itself, by using a special set of APIs which work in both
Eclipse and the CLI.

Unfortunately, more recent versions of m2eclipse-tycho are more
conservative about regenerating the bundle manifest [2], which means
that unless a full build is triggered the manifest does not include
changes to the Service-Component header.

I am trying to fix this (somehow), but I did not find the way the two
plugins cooperate. I see that the scr plugin sets certain project
properties related to the Service-Component header [3], but I have no
idea where the bundle plugin reads those.

If anyone has an idea about how the plugins cooperate, or of any
approach which can fix the Eclipse integration, please let me know.

Thanks,

Robert

[1]: https://github.com/tesla/m2eclipse-tycho
[2]: https://github.com/tesla/m2eclipse-tycho/commit/85cd048ffcd4702099
2bdec2cd44f1a4945173bf
[3]: https://github.com/apache/felix/blob/f6c2e7f15e825521f2a9f778a8ab6
e0cacc208d5/tools/maven-scr-
plugin/src/main/java/org/apache/felix/scrplugin/mojo/SCRDescriptorMojo.
java#L461-L465

Reply via email to