Hi,
I'm using the Apache Felix Maven Bundle Plugin to package a bunch of jars and 
their dependencies into a uber OSGi bundle. Here is the configuration I have:

                        <plugin>

                                <groupId>org.apache.felix</groupId>

                                <artifactId>maven-bundle-plugin</artifactId>

                                <extensions>true</extensions>

                                <version>5.1.1</version>

                                <configuration>

                                        <instructions>

                                                
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>


                                                
<Embed-Transitive>true</Embed-Transitive>

                                        </instructions>


                                </configuration>

                        </plugin>




The issue I'm stuck on is that the contents of the files in the 
META-INF/services/ folder is not the merged content. For instance if I have a 
file META-INF/services/example-file in two different dependent jars with 
different content, the final bundle that is built only has the content from one 
of them. I feel like I'm missing an instruction but haven't been able to find 
any documentation around. 
Appreciate any help to figure this out.
-sud

Reply via email to