Refactoring of the install-kar goal of the karaf-maven-plugin