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

Problem with pax-transx when updating karaf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.2.7
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      None

      Description

      Hi,

      I get a  URISyntaxException when updating karaf from 4.0.9 to 4.2.7.

       

       

      Exception:

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.4:assembly (default-assembly) on project drive.assembly: Unable to build assembly
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
      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:318)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      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:498)
      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:414)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build assembly
      at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:234)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      ... 19 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:1126)
      at org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:444)
      at org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:389)
      at org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:392)
      at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:228)
      ... 21 more
      Suppressed: java.io.IOException: Error downloading
      mvn:org.ops4j.pax.transx/pax-transx-features/0.4.4/xml/features

      at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:71)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:
      mvn:org.ops4j.pax.transx/pax-transx-features/0.4.4/xml/features

      at java.net.URI$Parser.fail(URI.java:2848)
      at java.net.URI$Parser.checkChars(URI.java:3021)
      at java.net.URI$Parser.checkChar(URI.java:3031)
      at java.net.URI$Parser.parse(URI.java:3047)
      at java.net.URI.<init>(URI.java:588)
      at org.apache.karaf.profile.assembly.CustomSimpleDownloadTask.getUrlStreamHandler(CustomSimpleDownloadTask.java:79)
      at org.apache.karaf.profile.assembly.CustomSimpleDownloadTask.createUrl(CustomSimpleDownloadTask.java:67)
      at org.apache.karaf.profile.assembly.CustomSimpleDownloadTask.download(CustomSimpleDownloadTask.java:58)
      at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)
      ... 7 more
      [CIRCULAR REFERENCE:java.io.IOException: Error downloading
      mvn:org.ops4j.pax.transx/pax-transx-features/0.4.4/xml/features

       

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              Martin_11 Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: