The scope needs to be left off the dependencies and the entries should be

<dependency>
 <groupId>org.apache.servicemix</groupId>
 <artifactId>servicemix-jbi</artifactId>
 <version>fuse-3.0.0.0</version>
</dependency>

Can you try that?

P

On 8/31/06, Timothy High <[EMAIL PROTECTED]> wrote:
I'm attaching the pom.xml file and the resulting jbi.xml that is produced. Note 
also that the commons-logging jar appears on the classpaths as well, even 
though they are not declared in the pom file.

Thanks,
Tim.

-----Original Message-----
From: Philip Dodds [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 11:39 AM
To: [email protected]
Subject: Re: Using shared libraries with the maven plugin

Can you send us the pom.xml?

P

On 8/31/06, Timothy High <[EMAIL PROTECTED]> wrote:
> I'm using FUSE 3.0, and I'm using the 3.0-incubating-SNAPSHOT version of the plug-in. If I use 
the <scope>provided</scope> designation, the jars do not appear in the in the 
configuration; otherwise they appear as <path-elements> in the bootstrap and component 
classpaths.
>
> -----Original Message-----
> From: Philip Dodds [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 31, 2006 11:29 AM
> To: [email protected]
> Subject: Re: Using shared libraries with the maven plugin
>
> What version of ServiceMix are you using? and which dependency is it
> mis-packaging?
>
> P
>
> On 8/31/06, Timothy High <[EMAIL PROTECTED]> wrote:
> > Is there a specific scope designation I should be using? It's packaging 
everything as local jars rather than using the <shared-library> designation.
> >
> > -----Original Message-----
> > From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 31, 2006 11:14 AM
> > To: [email protected]
> > Subject: Re: Using shared libraries with the maven plugin
> >
> > If you put a dependency on the shared library inside your pom,
> > the generated descriptor should include the reference.
> > If this is already the case, the problem may come from
> > the fact that this is an old version of the maven plugin
> > which was not able to handle SL yet.
> >
> > On 8/31/06, Timothy High <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > >
> > >
> > >
> > > I am trying to use Maven to generate my component, which uses the
> > > servicemix-common shared library. However, I couldn't find a way to 
declare
> > > that it uses this shared library via my pom.xml configuration. I would
> > > like Maven to generate the following line in my jbi.xml file:
> > >
> > >
> > >
> > >     <shared-library version="fuse-3.0.0.0
> > > ">servicemix-common</shared-library>
> > >
> > >
> > >
> > > Can anyone tell me how this can be done?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Tim.
> > >
> > >
> > >
> > > ----------------------------------------------------------
> > >
> > > Timothy High
> > >
> > > Software Engineering
> > >
> > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > > Sakonnet Technology
> > > Centro Empresarial Mourisco
> > > Praia de Botafogo 501 1°Andar
> > > Bloco A - Torre Pão de Açúcar
> > > 22250-040  - Rio de Janeiro, RJ Brazil
> > > www.sknt.com <http://www.sknt.com/>
> > >
> > > +55 (21) 2586 6102  direct
> > > +55 (21) 2586 6001  fax
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
>



Reply via email to