[FELIX-2018]features-maven-plugin add-features-to-repo should suport the bundle start with wrap: in features.xml

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@903990 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java b/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
index c049293..15dd08b 100644
--- a/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
+++ b/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
@@ -93,6 +93,9 @@
             }
             System.out.println("Base repo: " + localRepo.getUrl());
             for (String bundle : bundles) {
+                if (bundle.startsWith("wrap:")) {
+                    bundle = bundle.substring(5);
+                }
                 if (!bundle.startsWith("mvn:")) {
                     throw new MojoExecutionException("Bundle url is not a maven url: " + bundle);
                 }