On 26/10/2007, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > > On 26/10/2007, Pierre Parrend <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > Is it possible to define a Manifest manually with the > > maven-bundle-plugin ? > > with the maven-osgi-plugin, there was the possibility to specify: > > <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile > > > The Bnd tool which does most of the actual work can accept instructions > from a manifest > Just use the -include directive (as mentioned on http://aqute.biz/Code/Bnd > ) or with maven: > > <configuration> > <instructions> > <_include>src/main/resources/META-INF/MANIFEST.MF</_include> > </instructions> > </configuration> >
I've updated the wiki to mention this - btw, you can also mix includes with other instructions, eg: <_include>src/main/resources/META-INF/MANIFEST.MF</_include> <Export-Package>org.example.*</Export-Package> useful if you want to enhance an existing (non-OSGi) manifest with additional OSGi attributes. and Bnd will use this manifest to assemble the contents of the bundle and > save it in the jar. > > is there something similar in the new plugin ? I have not found any > > mention on the plugin web page. > > > > thanks for the info, > > > > Pierre > > > > -- > > Pierre Parrend > > Doctorant, Moniteur > > Laboratoire CITI, INSA-Lyon > > 21, Av. J. Capelle, F-69621 Villeurbanne > > mail:[EMAIL PROTECTED] > > web:http://rzo.free.fr > > > > > > > -- > Cheers, Stuart -- Cheers, Stuart
