make axon-core OSGi compatible