You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Doug Fischer <dg...@dfischer.com> on 2006/10/19 16:46:01 UTC

Jbi plugin classpath

I am trying to use the jbi-maven-plugin to create service units and service
assemblies.  When I create a service unit, will the plugin set the add the
dependencies on the project to the servicemix / xbean xml files?

Thank you,
Doug

Re: Jbi plugin classpath

Posted by Guillaume Nodet <gn...@gmail.com>.
No, not right now.
There is an enhancement planned for 3.1 where
the classpath would default to . + lib/*.jar,
but this has not been implemented yet.
See http://issues.apache.org/activemq/browse/SM-673

On 10/19/06, Doug Fischer <dg...@dfischer.com> wrote:
> I am trying to use the jbi-maven-plugin to create service units and service
> assemblies.  When I create a service unit, will the plugin set the add the
> dependencies on the project to the servicemix / xbean xml files?
>
> Thank you,
> Doug
>
>


-- 
Cheers,
Guillaume Nodet

Re: Jbi plugin classpath

Posted by Philip Dodds <ph...@gmail.com>.
The plugin should copy dependencies you bundle with your service unit
into the lib directory of your Service Unit's ZIP file.  Note that if
you add a dependency on the Component for which the SU is being built
- its dependencies will be ignored.

However, if you are using an XBean based Service Unit (one of the
ServiceMix ones) you will need to add the classpath elements to your
xbean.xml to refer to the libraries in the lib directory.

Thanks

P

On 10/19/06, Doug Fischer <dg...@dfischer.com> wrote:
> I am trying to use the jbi-maven-plugin to create service units and service
> assemblies.  When I create a service unit, will the plugin set the add the
> dependencies on the project to the servicemix / xbean xml files?
>
> Thank you,
> Doug
>
>