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.

