You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by pi...@apache.org on 2011/02/19 22:05:46 UTC
svn commit: r1072442 -
/karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java
Author: pieber
Date: Sat Feb 19 21:05:46 2011
New Revision: 1072442
URL: http://svn.apache.org/viewvc?rev=1072442&view=rev
Log:
[KARAF-472] tabs in <feature></feature> should be ignored (as e.g. whitespaces)
Modified:
karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java
Modified: karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java?rev=1072442&r1=1072441&r2=1072442&view=diff
==============================================================================
--- karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java (original)
+++ karaf/branches/karaf-2.1.x/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/AddFeaturesToRepoMojo.java Sat Feb 19 21:05:46 2011
@@ -151,7 +151,7 @@ public class AddFeaturesToRepoMojo exten
getLog().info("Base repo: " + localRepo.getUrl());
for (String bundle : bundles) {
// get rid of of possible line-breaks KARAF-313
- bundle = bundle.replace("\r\n", "").replace("\n", "").replace(" ", "");
+ bundle = bundle.replace("\r\n", "").replace("\n", "").replace(" ", "").replace("\t", "");
final int index = bundle.indexOf("mvn:");
if (index < 0) {
if (skipNonMavenProtocols) {