Fix issues to deploy project on karaf - tested with jbpm-example