You are right... so I have a simple Spring app that is a client to some web 
services. It worked just wonderful and I decided to changed it to use OSGi..
I have the Spring and CXF bundles. But they depend on many other things and 
also in my original poms I have a lost of other dependencies and I'm not sure 
what I have to do with them.

--- On Sat, 10/17/09, Alin Dreghiciu <[email protected]> wrote:

From: Alin Dreghiciu <[email protected]>
Subject: Re: version of exported packages
To: [email protected]
Date: Saturday, October 17, 2009, 9:29 AM

I guess that you will have first to give us more details about what you want
to do.But basically you should not define a pom for each dependency.

On Sat, Oct 17, 2009 at 11:48 AM, Gogu Nae <[email protected]> wrote:

> Thanks for the qucik reply, but the thing is I have multiple dependencies
> in my pom!
> Must a do x poms for each of the dependencies I have? :(
>
> --- On Sat, 10/17/09, Alin Dreghiciu <[email protected]> wrote:
>
> From: Alin Dreghiciu <[email protected]>
> Subject: Re: version of exported packages
> To: [email protected]
> Date: Saturday, October 17, 2009, 8:34 AM
>
> <Export-Package>*;version=1.0;-split-package:=merge-first</Export-Package>
>
> On Sat, Oct 17, 2009 at 11:06 AM, Gogu Nae <[email protected]> wrote:
>
> > Hi, I'm exporting all the packages in a bundle that contains other non
> osgi
> > jars.
> > In my pom.xml I have dependencies like this
> >
> >     <dependency>
> >         <groupId>javax.jws</groupId>
> >         <artifactId>jsr181-api</artifactId>
> >         <version>1.0</version>
> >     </dependency>
> >
> > My export config looks like this
> >
> > <Export-Package>*;-split-package:=merge-first</Export-Package>
> >
> > How can I configure it to obtain something like this
> >
> > Export-Package:javax.jws;version=1.0
> >
> > Now I get the package exported with version 0.0.0
> >
> > Tahnk you!
> >
> >
> >
> >
>
>
>
>
> --
> Alin Dreghiciu
> Software Developer
> My profile: http://www.linkedin.com/in/alindreghiciu
> My blog: http://adreghiciu.blogspot.com
> http://www.ops4j.org - New Energy for OSS Communities - Open Participation
> Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.
>
>
>
>
>



-- 
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.



      

Reply via email to