Edit by Adrien: Since the question was posted without a body, I took the liberty of filling in the symptoms.
If a plugin needs a cache, the Atlassian documentation advises to import following, which doesn't work:
<component-import key="cacheFactory" interface="com.atlassian.cache.CacheFactory" />
The plugin installation fails with the following messages:
Plugin 'com.[...]' never resolved service '&cacheFactory' with filter '(objectClass=com.atlassian.cache.CacheFactory)'
How to use the cache in JIRA?