2009/5/6 Antoni Mylka <[email protected]> > Hello, > > I'm using the maven-bundle-plugin to create a bundle that includes > classes from about 40 different jars. It's all very well, but some of > the jars have a META-INF/services folder containing some extra metadata. > I'd like the content of META-INF/services folders of all dependencies to > be combined into a META-INF/services folder of my resulting bundle. > > Is there a way to accomplish this with felix maven plugin by itself, > without the aid of assembly plugin? >
you could use: <Embed-Dependency>*;inline=true</Embed-Dependency> which calculates the right Include-Resource instruction to inline all dependencies into the final bundle - this would include the contents of META-INF/services, etc. you can also filter which resources get embedded, for example: <Embed-Dependency>*;inline=META-INF/services/**</Embed-Dependency> or you could use: <Private-Package>META-INF.*</Private-Package> which does the same sort of merging, but using package names rather than paths [ http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html ] Antoni Mylka > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Stuart

