[KARAF-1972] Fixing the scope handing of the karaf-maven-plugin

Here is a fix the bahavior mentioned in: https://issues.apache.org/jira/browse/KARAF-1972