commit | 967a3c1a55070892b37db986e1b7c5b09dc8c315 | [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 | 620d51e962bbb6f3abf945e7b861bb779c2fef5c [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); }