Ah ok, so this is how you deal with multiple OSGi frameworks. Seems to work in this case, but in general I think the profile approach is to be preferred, especially when other artifacts depend on yours and might get too many transitive dependencies.