This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-sling-plugin-2.0.6
in repository https://gitbox.apache.org/repos/asf/sling-maven-sling-plugin.git

commit 0296860fb02684a557f8beb1a34932adc54c0d0b
Author: Felix Meschberger <[email protected]>
AuthorDate: Tue May 12 07:09:30 2009 +0000

    SLING-963 Apply patch by Stefan Seifert (thanks)
    
    git-svn-id: 
https://svn.apache.org/repos/asf/incubator/sling/trunk/maven/maven-sling-plugin@773804
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
index 0feac2e..9316c3e 100644
--- 
a/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
+++ 
b/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
@@ -352,7 +352,10 @@ abstract class AbstractBundleInstallMojo extends 
AbstractBundlePostMojo {
 
         final Entry[] entries = header.getEntries();
         for(final Entry entry : entries) {
-            final String path = entry.getValue();
+            String path = entry.getValue();
+            if ( path != null && !path.endsWith("/") ) {
+                path += "/";
+            }
             // check if we should ignore this
             final String ignoreValue = entry.getDirectiveValue("maven:mount");
             if ( ignoreValue != null && ignoreValue.equalsIgnoreCase("false") 
) {

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to