Raphael Majeed created KARAF-3375:
-------------------------------------

             Summary: karaf-maven-plugin install-kars fails on paths containing 
spaces
                 Key: KARAF-3375
                 URL: https://issues.apache.org/jira/browse/KARAF-3375
             Project: Karaf
          Issue Type: Bug
          Components: karaf-tooling
    Affects Versions: 3.0.2
         Environment: Windows 7, Maven 3.2.3, jdk 1.8.0_25
            Reporter: Raphael Majeed


1. Create custom maven distribution as described in the documentation.
2. Place POM file on a path which contains spaces
3. mvn clean install fails:

[ERROR] Failed to execute goal 
org.apache.karaf.tooling:karaf-maven-plugin:3.0.2:install-kars 
(default-install-kars) on project distro: Execution default-install-kars of 
goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.2:install-kars failed: Can 
not install org.apache.karaf.features:framework:kar:3.0.2:compile kar:
 Illegal character in path at index 12: /C:/temp/has 
space/target/assembly/system/org/apache/karaf/features/framework/3.0.2/framework-3.0.2-features.xml
 -> [Help 1]

4. If the same POM is placed on path without spaces, then the build succeeds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to