Hi, My comment inline ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 Begin forwarded message: > From: cristisor <[email protected]> > Subject: Adding common libraries to a shared location > Date: 2013年6月21日格林尼治标准时间+0800下午8时05分02秒 > To: [email protected] > Reply-To: [email protected] > > Hello, > > I use 3.5.0-fuse-00-00 I have multiple service assemblies, each one for a > service unit. The service units have in common many libraries, which lead to > a very "fat" installer, so I would like to mark them in the maven pom with > the scope 'provided' and get them from a common place. > > I googled for some answers and the only things that I was able to found are > 2 replies from *Freeman-2*, one on stackoverflow > <http://stackoverflow.com/questions/8727990/how-to-integrate-servicemix-shared-libraries-using-jbi-maven-plugin> > > and the other one on grokbase > <http://grokbase.com/t/servicemix/users/09174dv8rq/service-unit-which-depends-on-jbi-component-and-shared-library> > > . > > The only problem is that those answers are not very clear for a ServiceMix > amateur, so I have the following questions to have a starting point: > - I see that each service unit has a generated jbi.xml file, how can I add > <library>your_shared_lib_name</library> to it? IIRC, put it in xbean.xml of your SU should be OK > - these libraries should be located in the "lib" folder of ServiceMix in Yes > order to be found? > > Many thanks. > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Adding-common-libraries-to-a-shared-location-tp5717062.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
