>I think we can improve the situation though. How about making >org.apache.sling.testing.resourceresolver-mock a bundle? >This way I could register the mock resolver factory as a service.
i think this would be no problem - the sling-mock bundle itself is already a bundle (although only to benefit from the bnd baseline features for it's API, it was never used as bundle). stefan