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

Build fails due to illegal character in path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.0.0
    • None
    • None
    • None
    • Win 8.1 JDK 1.8

    Description

      [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly (default-assembly) on project xyz-project-packaging-karaf-archive: Unable to build assembly: Error -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly (default-assembly) on project xyz-project-packaging-karaf-archive: Unable to build assembly
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build assembly
      	at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:170)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      	... 20 more
      Caused by: org.apache.karaf.features.internal.util.MultiException: Error
      	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)
      	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
      	at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1029)
      	at org.apache.karaf.profile.assembly.Builder.bootStage(Builder.java:703)
      	at org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:554)
      	at org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:352)
      	at org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:296)
      	at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:164)
      	... 22 more
      	Suppressed: java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Documents/Development/git/xyz-project/xyz-project-packaging/xyz-project-packaging-karaf/xyz-project-packaging-karaf-archive/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
      		at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
      		at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
      		at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
      		at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
      		at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
      		at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
      		at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1040)
      		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)
      		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)
      		at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344)
      		at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293)
      		at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127)
      		at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1035)
      		... 27 more
      

      Attachments

        1. pom.xml
          7 kB
          Neha

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nem Neha
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: