HCANN-51 Support OSGi in hibernate-commons-annotations