Hello;

I have generated OSGI Manifest via maven-bundle-plugin  in "trunk/pom.xml". Is 
it correct? 


        <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <supportedProjectTypes>
            <supportedProjectType>jar</supportedProjectType>
            <supportedProjectType>bundle</supportedProjectType>
            <supportedProjectType>war</supportedProjectType>
          </supportedProjectTypes>
          <instructions>
            <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
            <Bundle-Version>${pom.version}</Bundle-Version>
            
<Export-Package>!org.apache.webbeans.internal.*,org.apache.webbeans.*;version="${pom.version}"</Export-Package>
            <Private-Package>org.apache.webbeans.internal.*</Private-Package>
          </instructions>
        </configuration>
      </plugin>

Thanks;

--Gurkan




________________________________
From: Shawn Jiang <[email protected]>
To: [email protected]
Sent: Fri, May 14, 2010 4:49:36 AM
Subject: Re: OWB as OSGI Bundles

And soon I found the OWB bundle plugin were removed so that I did not try
the owb bundles further.

On Fri, May 14, 2010 at 9:37 AM, Shawn Jiang <[email protected]> wrote:

> I tried to wrapped the OWB jars into bundles in geronimo and they worked
> fine.   See
> https://svn.apache.org/repos/asf/geronimo/server/trunk/plugins/openwebbeans/geronimo-openwebbeans/pom.xml
>
>
> After changing the OWB  bundles directly.   I also met some class resolving
> problems that I can't remember exactly.
>
>
>
> On Thu, May 13, 2010 at 10:22 PM, Gurkan Erdogdu 
> <[email protected]>wrote:
>
>> Hello;
>>
>> Ago, I tried to build osgified version of OWB jars with adding
>> META-INF/MANIFEST.MF with adding bundle plugin to trunk/pom.xml. But I am
>> not sure that is correct or not.
>>
>> Is anybody experienced with OSGI look at this whether it is OK or not?
>>
>> I would like to integrate OWB with Geronimo, but I failed with OSGI
>> dependencies.
>>
>> Thanks;
>>
>> --Gurkan
>>
>>
>
>
> --
> Shawn
>



-- 
Shawn


Reply via email to