Ok i finally made this work ! (was so paintfull) Thanks for the help !
what i was missed is installing this one =>
mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.3.7
Le 26/03/2024 à 21:17, Steinar Bang a écrit :
Cesar Garcia <[email protected]>:
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!