Refactor project to deploy on JBoss Fuse/Karaf