Generating manifest with maven-bundle-plugin

2007-04-19 Thread John E. Conlon
I see that functionality has been added to the maven-bundle-plugin for 
bundleAll and for generating manifests.  How and why would I use the  
'manifest' goal in the latest maven-bundle-plugin? 


Can anyone give a typical use case and show an example of how to use it?

thanks,

John



AW: Generating manifest with maven-bundle-plugin

2007-04-19 Thread Hampel, Michael
 
Hello John,

For me a typical use case is when working with an Eclipse RCP
application where Eclipse needs the Manifest file exploded to
run workspace plugins self contained.
That's how I use the plugin to create my bundle jar plus
the exploded Manifest in a META-INF folder:

!-- OSGi plugin to create MANIFEST.MF and bundle jar --
  plugin
groupIdorg.apache.felix/groupId  
artifactIdmaven-bundle-plugin/artifactId
configuration
  manifestLocationMETA-INF/manifestLocation
  instructions
Export-Packagecom.myPackage.*/Export-Package
 
  /instructions  
/configuration
executions 
  execution 
goals 
  goalmanifest/goal 
/goals 
  /execution 
/executions
  /plugin 

HTH,

Michael



-Ursprüngliche Nachricht-
Von: John E. Conlon [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 20. April 2007 00:00
An: felix-dev@incubator.apache.org
Betreff: Generating manifest with maven-bundle-plugin

I see that functionality has been added to the maven-bundle-plugin for 
bundleAll and for generating manifests.  How and why would I use the  
'manifest' goal in the latest maven-bundle-plugin? 

Can anyone give a typical use case and show an example of how to use it?

thanks,

John