That's excately what I used. The one thing I'd add a version for the exported 
packages. It helps the package admin service avoid runtime incompatabilities 
when sewing up bundle dependencies.

> Export-Package: org.osoa.sca.annotations;version="1.0", 
> org.osoa.sca;version="1.0"

Cheers,
Joel

-----Original Message-----
From: Jeremy Boynes [mailto:[EMAIL PROTECTED]
Sent: Wed 8/9/2006 7:32 PM
To: tuscany-dev@ws.apache.org
Subject: OSGI headers, was: Using osgi plugin to generate manifests
 
Joel

With your knowledge of OSGi, is this header set reasonable or are  
there others we should be adding?
--
Jeremy

On Jul 21, 2006, at 3:33 PM, Jeremy Boynes wrote:

> On Jul 21, 2006, at 3:25 PM, Raymond Feng wrote:
>
>> Several questions:
>>
>> 1) What's going to happen if a 3rd party dependency is not OSGi  
>> bundled?
>> 2) How does it deal with "Require-Bundle"? It seems that it can  
>> populate "Import-Package" automatically.
>> 3) Can you post a sample MANIFEST.MF generated by the plugin?
>
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: jboynes
> Build-Jdk: 1.5.0_06
> Extension-Name: sca-api-r0.95
> Specification-Title: API classes for the Service Component  
> Architecture
> Specification-Vendor: The Apache Software Foundation
> Implementation-Vendor: The Apache Software Foundation
> Implementation-Title: sca-api-r0.95
> Implementation-Version: 1.0-SNAPSHOT
> Export-Package: org.osoa.sca.annotations, org.osoa.sca
> Bundle-Version: 1.0.SNAPSHOT
> Bundle-Vendor: The Apache Software Foundation
> Bundle-Name: SCA API
> Bundle-Classpath: .
> Bundle-Localization: plugin
> Bundle-Description: API classes for the Service Component Architecture
> Bundle-SymbolicName: org.osoa.sca
>
>
>> I found this document useful: http://docs.safehaus.org/display/ 
>> OSGI/OSGi+Plugin+for+Maven+2.0
>
> That's as much as I know as well.
>
>
> ---------------------------------------------------------------------
> 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]


The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to