>>>>> Cesar Garcia <cesar.gar...@ceos.com.ve>:

> Hello,
> Definitely for that problem it helps:

> https://aries.apache.org/documentation/modules/spi-fly.html

> You must clearly define in your poms which export services with
> "SPI-Provider: *" or import services with "SPI-Consumer: *", this is done
> in your pom.xml file.

Ah! Yes, of course!

This is my PR to TwelveMonkeys:
 https://github.com/haraldk/TwelveMonkeys/pull/814
with the following correction:
 https://github.com/haraldk/TwelveMonkeys/pull/856

Anyway: what the PR does is to make the jars be OSGi bundle and add
Provide-Capability headers to all bundles exposing SPI services.

These services are then picked up and instantiated by SPI-Fly (and made
into OSGi services in the service registry).

So you need to do the same thing to the jar files providing hash code
plugins.

Sorry, I forgot!

Reply via email to