Multiple versions of an exported package
I read somewhere (I think it was in a post to THIS forum rather than the AEM docs) that we can't create an OSGi bundle that exports packages that are already exported by bundles provided as standard with the AEM run-time even if they are different versions.
Now clearly that is not an OSGi constraint since that's one of the key features of OSGi implementations, so I wonder whether it is an AEM specific restriction ?
A while back I created a bundle that exported later version (1.7.5) of SLF4J packages (the one supplied with AEM is 1.6.4). Whilst that bundle did start successfully, thereafter I had a number of problems, which, once I removed that bundle cleared up. It was about that time I came across the statement about AEM only allowing one version of a package to be exported, so since then I haven't attempted to update other packages than those shipped with the product.
Obviously I'd like someone (from Adobe or otherwise) to completely refute that statement (if I come across it again I'll post it here) and confirm that the OSGI implementation is completely standard and not in any way constrained ???
Kind regards
Fraser.