Hey Mahanti, I'm not sure if you included it (your pasted pom is a little bit messed up in my gmail :(), but you have to add <Embed-Transitive>true</Embed-Transitive> to embed dependencies transitive.
Kind regards, Andreas On Wed, Mar 30, 2011 at 10:23 PM, rmahanti <[email protected]> wrote: > Hi All, > > Iam facing the problem with dependency management when i install the bundle > in service mix4.2.0. > This is my POM file: > > > > edu.ucla.ais.cb > cb-services-auth > 1.1 > > > > > > org.apache.felix > maven-bundle-plugin > > > ${pom.artifactId} > *, > > org.apache.servicemix.cxfbc, > > org.apache.servicemix.bean, > > org.apache.servicemix.common.osgi, > > > *;scope=compile|runtime;inline=false > target/dependency > true > > > true > > > > Here if i use element ,then all the dependency jar files are going into the > classpath of the current bundle. > But again the the dependency bundle is recursively dependent on many other > bundles or jar files,but these recursive dependent files are not coming into > the classpath of current bundle. > > > Please suggest me some solution how can i get all required bundles/jars into > the classpath of bundle iam deploying. > > Your help will be appreciated :) > > > Regards, > Mahanti. > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Dependency-Managment-Issues-in-creating-Bundle-tp4272266p4272266.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
