Probably need to modify the GenerateServiceUnitMojo so that it contains
logic similar to teh GenerateComponentMojo.  Though we'll need to filter out
the jbi-component so it does end up bundled.

I can take a look now if you like

P

On 8/1/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

I've just seen a problem though.
I though the maven-jbi-plugin would embed jar dependencies in the service
unit, but it does not seem to be the case.

Let's say I have a multiproject build containing a jar, a SU and a SA.
If the code inside the SU depends on the jar, I would want the jbi plugin
to
automatically bundle it in the SU. We do not need to generate the
classpath
tag
in the xbean.xml, but the jar would be bundled along with the classes in
the
SU.

Any thoughts on how to do that ?

--
Cheers,
Guillaume Nodet

On 8/1/06, Philip Dodds <[EMAIL PROTECTED]> wrote:
>
> Sounds great!
>
> P
>
> On 8/1/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> >
> > Based on some earlier discussions, I will start to refactor some of
the
> > samples
> > that use standard JBI components to use the maven jbi plugin instead
of
> an
> > ant
> > based build file.
> > This will allow:
> >    * testing the samples as part of the build
> >    * demonstrate the use of the jbi plugin
> >
> > Note that the samples will be moved to the trunk/samples dir and the
> > source
> > distribution
> > of these artifacts will be included in the main distribution.
> >
> > --
> > Cheers,
> > Guillaume Nodet
> >
> >
>
>


Reply via email to