My bundle is trying to import wrong version of AEM bundle (6.2)
My bundle is failing to start because it is trying to import the wrong version of an AEM bundle. I have not added any dependencies, just added in some code that has caused this bundle to be required. My bundle is throwing errors because it is looking for:
com.day.cq.personalization,version=[5.8,6) -- Cannot be resolved
but I can see in felix that there is:
| 490 | 5.9.292 |
I don't think that I have updated the bundle myself or anything. How can I specifically tell my bundle to look for the newer version? I have tried adding it as a dependency and specifically setting the version number but that version can't be available in any public repo as it fails to resolve. I have also tried in the import-package section of my bundle specifying the version but that seems to be ignored:
<Import-Package>
*,!com.google.gson, com.day.cq.personalization;version="[5.9.292)"
</Import-Package>