You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Timothy High <ti...@sknt.com> on 2006/08/31 16:06:53 UTC

Using shared libraries with the maven plugin

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

timothy.high@sknt.com <ma...@sknt.com> 

 

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 

 


Re: Using shared libraries with the maven plugin

Posted by Guillaume Nodet <gn...@gmail.com>.
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 <ti...@sknt.com> 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
>
> timothy.high@sknt.com <ma...@sknt.com>
>
>
>
> 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