cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use a jar with different versions in just one bundle?

Antonio_Pescion
Confirmed Champ
Confirmed Champ

Can I use a jar with different versions in just one bundle? Nuxeo platform 7.10 (LTS2015) uses jedis 2.7.0 to communicate with Redis server. I have my bundle it communicates with new Redis server, this bundle has the spring-data-redis to connect with Redis and it needs to use jedis 2.9.0 to work. Are there a way to use the jedis 2.9.0 in just one bundle?

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

No, Nuxeo uses a flat classpath. You can try replacing Nuxeo's Jedis with the one you want. If the APIs are compatible it should work. Or make spring-data-redis use Nuxeo's, again if it's compatible.

Thank you very much!