commit | fd6646e867b7b29758496b6e0f0254244b09e799 | [log] [tgz] |
---|---|---|
author | Stuart McCulloch <mcculls@apache.org> | Sun Oct 21 07:55:58 2007 +0000 |
committer | Stuart McCulloch <mcculls@apache.org> | Sun Oct 21 07:55:58 2007 +0000 |
tree | 3db8a04c44a0b218e9b68fff8c8a1945ccf6eb2d | |
parent | 0ab638932870a3bfdac9e0b5be302a292c5ee858 [diff] |
FELIX-403: replace line-breaks with spaces when using Maven project description in Bundle manifest git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@586862 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java index 1a20ad7..a93b66d 100644 --- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java +++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
@@ -478,7 +478,7 @@ if (value instanceof Collection && ((Collection) value).isEmpty()) return; - properties.put(key, value.toString()); + properties.put(key, value.toString().replaceAll("[\r\n]", " ")); } /**