On 22 Nov 2012, at 00:13, Darren wrote: > Not sure who maintains the documentation for the bundle plugin, but I'd like > to suggest the following addition to > http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
Hi Darren, Thanks for the suggestion - Felix site docs are maintained on the wiki: https://cwiki.apache.org/confluence/display/FELIX/wiki I've updated the example with the extra setting: https://cwiki.apache.org/confluence/pages/diffpages.action?pageId=28777&originalId=30743018 it should sync to the main site in the next few hours. -- Cheers, Stuart > In the 'Adding OSGi metadata to existing projects without changing the > packaging type' section, the 2nd example pom extract applies to war files. > As it is the bundle plugin creates a MANIFEST.MF file, but it is placed > within the classes directory of your war file, i.e. > /WEB-INF/classes/META-INF/MANIFEST.MF > > To get it in /META-INF/MANIFEST.MF you also need the following in your pom. > > <plugin> > <artifactId>maven-war-plugin</artifactId> > <version>2.3</version> > <configuration> > <archive> > > <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> > </archive> > </configuration> > </plugin> > > Thanks, > Darren > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

