Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3375

karaf-maven-plugin install-kars fails on paths containing spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.0.3
    • karaf
    • None
    • Windows 7, Maven 3.2.3, jdk 1.8.0_25

    Description

      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.

      Attachments

        1. pom.xml
          3 kB
          Raphael Majeed

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              rwm Raphael Majeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: