commit | d8087b1ab677311ebceba0545479c1514f3b2bb4 | [log] [tgz] |
---|---|---|
author | Freeman Yue Fang <ffang@apache.org> | Thu Jan 28 07:56:23 2010 +0000 |
committer | Freeman Yue Fang <ffang@apache.org> | Thu Jan 28 07:56:23 2010 +0000 |
tree | 4bc34b3050960de5edd198dcd2755630b7486649 | |
parent | 4a3f0a62b37aec6c0a40d4b0def696f7a8cb2101 [diff] |
[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); }