Hi Gert.
I've tried using 3.2.3 and it still doesn't work, but 4.0 does, so problem
solved!

Thanks a lot to both of you for your help.

Best regards,

Sebastian Gomez.

On Mon, Dec 29, 2008 at 10:45 AM, Gert Vanthienen <[email protected]
> wrote:

> Sebastian,
>
> If you upgrade your Maven JBI plugin to version 3.2.3 or above, it includes
> the fix Stuart mentions in his post. (Cfr.
> https://issues.apache.org/activemq/browse/SMX4-64)
>
> Regards,
>
> Gert
>
> Sebastian Gomez wrote:
>
>> Hi.
>>
>> Stuart, I guess it must be what you say. I'll look into it and update with
>> my results.
>>
>> Gert, I'm using SMX 3, so I can't convert my SUs into an OSGI bundle. I'm
>> using the 3.2.2 jbi plugin. Do you think upgrading to a newer version will
>> help? BTW, how can I control the loading order of the plugins? Does it
>> depend on the order they are declared in the pom? Or are they loaded when
>> they are first used? I can declare them in the root pom, but I've tried
>> changing their order and I still get the same problem.
>>
>> On Mon, Dec 29, 2008 at 8:23 AM, Gert Vanthienen
>> <[email protected]>wrote:
>>
>>
>>
>>> Sebastian,
>>>
>>> Are you working on a project for ServiceMix 3 or ServiceMix 4?  The
>>> latter
>>> is OSGi based, so you could just develop your SU as OSGi bundles as well.
>>> What version of the Maven JBI plugin are you using?  Could you try
>>> defining
>>> both plugins in the same file (the root pom probably) so you can control
>>> the
>>> order in which they are loaded more easily?
>>>
>>> Regards,
>>>
>>> Gert
>>>
>>>
>>> Sebastian Gomez wrote:
>>>
>>>
>>>
>>>> Hi everyone.
>>>> I'm developing a project that uses both Sling and ServiceMix. To compile
>>>> the
>>>> whole project I have a unique POM with the references to all the modules
>>>> of
>>>> the project. I've noticed a strange behaviour when the order of the
>>>> modules
>>>> implies compiling a bundle before a service-unit: I don't know why but
>>>> it
>>>> makes the service-unit get installed in my repo as a .jbi-service-unit
>>>> instead of as a .jar. It looks like using the maven-bundle-plugin
>>>> affects
>>>> the preceding compilations. To me it doesn't make much sense, but maybe
>>>> it
>>>> has an explanation. Any ideas?
>>>>
>>>> Sorry for bothering both mailing lists, I wasn't sure which one should
>>>> be
>>>> addressed.
>>>>
>>>> Sebastian Gomez.
>>>>
>>>> PS: I've done a little test to prove this by getting servicemix's
>>>> loan-broker-bpel example and modifying the loan-broker-bean-su to be
>>>> packaged as a bundle. Doing this makes the compilation of the
>>>> loan-broker-sa
>>>> get an error for not being able to find the other 3 service units. If
>>>> you
>>>> want me to attach it just tell me.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>

Reply via email to