You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by rs...@imolinfo.it on 2006/06/30 12:41:57 UTC

info using m2 jbi plugin

Hi,
I'm trying to create a service assembly containig two service unit using the
service mix jbi plugin.
I created the poms with the packaging set to jbi-service-assembly and
jbi-service-unit and validated them.
If I run mvn packge the two service unit are created correctly (the jbi.xml is
void but it's not an issue). Instead I found no way to bind the service
assembly to the service unit. I tryied to aggregate the project but it seems
impossible to use a packing different than pom.
So, how can I tell the service assembly what service unit it has?
and how can I tell what component each service unit must be binded?

thanks
Raffaele




Re: info using m2 jbi plugin

Posted by Philip Dodds <ph...@gmail.com>.
Just as a note to this issue I have just checked into head some updates to
the JBI plugin as well as the samples - so best sync up :)

P

On 6/30/06, Guillaume Nodet <gn...@gmail.com> wrote:
>
> Take a look at the wsdl-first example in svn head [1].
> From the service assembly pom, you need to specifiy the
>
> jbi-service-assembly packaging and have dependencies
> on your service units.
>
> Cheers,
> Guillaume Nodet
>
>
>
> [1]
>
> http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/wsdl-first/
>
> On 6/30/06, rspazzoli@imolinfo.it <rs...@imolinfo.it> wrote:
> >
> > Hi,
> > I'm trying to create a service assembly containig two service unit using
> > the
> > service mix jbi plugin.
> > I created the poms with the packaging set to jbi-service-assembly and
> > jbi-service-unit and validated them.
> > If I run mvn packge the two service unit are created correctly (the
> > jbi.xml is
> > void but it's not an issue). Instead I found no way to bind the service
> > assembly to the service unit. I tryied to aggregate the project but it
> > seems
> > impossible to use a packing different than pom.
> > So, how can I tell the service assembly what service unit it has?
> > and how can I tell what component each service unit must be binded?
> >
> > thanks
> > Raffaele
> >
> >
> >
> >
>
>

Re: info using m2 jbi plugin

Posted by Guillaume Nodet <gn...@gmail.com>.
Take a look at the wsdl-first example in svn head [1].
>From the service assembly pom, you need to specifiy the

jbi-service-assembly packaging and have dependencies
on your service units.

Cheers,
Guillaume Nodet



[1]
http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/wsdl-first/

On 6/30/06, rspazzoli@imolinfo.it <rs...@imolinfo.it> wrote:
>
> Hi,
> I'm trying to create a service assembly containig two service unit using
> the
> service mix jbi plugin.
> I created the poms with the packaging set to jbi-service-assembly and
> jbi-service-unit and validated them.
> If I run mvn packge the two service unit are created correctly (the
> jbi.xml is
> void but it's not an issue). Instead I found no way to bind the service
> assembly to the service unit. I tryied to aggregate the project but it
> seems
> impossible to use a packing different than pom.
> So, how can I tell the service assembly what service unit it has?
> and how can I tell what component each service unit must be binded?
>
> thanks
> Raffaele
>
>
>
>