Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3443

On building coordinator-thorntail orson dependency error may be shown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.11.0.Final
    • 5.9.11.Final
    • LRA
    • None

      When building the Narayana then on module `coordinator-thorntail` we can experience dependency error to be show[1].
      It's the thorntail plugin trying to find `system` scope `orson` dependency (https://github.com/jbosstm/narayana/blob/5.9.11.Final/ArjunaJTA/narayana-jta/pom.xml#L223) at the repository. `orson` is not needed we should exclude that dependency from the throntail resolution.

      [1]

      [INFO] --- thorntail-maven-plugin:2.6.0.Final:package (default) @ lra-coordinator-thorntail ---
      [INFO] Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from redhat-ga: https://maven.repository.redhat.com/ga/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from download-java-net: https://download.java.net/maven/2/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from central: https://repo1.maven.org/maven2/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from jboss-public-releases-repository-group: https://repository.jboss.org/nexus/content/repositories/releases/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from repo.eclipse.org-snapshots: https://repo.eclipse.org/content/repositories/microprofile-snapshots/orson/orson/0.5.0/orson-0.5.0.jar
      [INFO] Downloading from jbossThirdParty: https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/orson/orson/0.5.0/orson-0.5.0.jar
      org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find orson:orson:jar:0.5.0 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:423)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:225)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:202)
        at org.wildfly.swarm.plugin.maven.MavenArtifactResolvingHelper.resolve(MavenArtifactResolvingHelper.java:109)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
        at org.wildfly.swarm.plugin.maven.MavenArtifactResolvingHelper.resolveAll(MavenArtifactResolvingHelper.java:207)
        at org.wildfly.swarm.tools.DefaultArtifactResolver.resolveAllArtifactsNonTransitively(DefaultArtifactResolver.java:50)
        at org.wildfly.swarm.tools.DependencyManager.resolveDependencies(DependencyManager.java:201)
        at org.wildfly.swarm.tools.DependencyManager.analyzeDependencies(DependencyManager.java:125)
        at org.wildfly.swarm.tools.BuildTool.analyzeDependencies(BuildTool.java:321)
        at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:254)
        at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:201)
        at org.wildfly.swarm.plugin.maven.PackageMojo.executeSpecific(PackageMojo.java:225)
        at org.wildfly.swarm.plugin.maven.AbstractSwarmMojo.execute(AbstractSwarmMojo.java:129)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
        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:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find orson:orson:jar:0.5.0 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:219)
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:172)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:564)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:482)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:400)
        ... 43 more
      org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find orson:orson:jar:0.5.0 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:423)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:225)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:202)
        at org.wildfly.swarm.plugin.maven.MavenArtifactResolvingHelper.resolve(MavenArtifactResolvingHelper.java:109)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
        at org.wildfly.swarm.plugin.maven.MavenArtifactResolvingHelper.resolveAll(MavenArtifactResolvingHelper.java:207)
        at org.wildfly.swarm.tools.DefaultArtifactResolver.resolveAllArtifactsNonTransitively(DefaultArtifactResolver.java:50)
        at org.wildfly.swarm.tools.DependencyManager.resolveDependencies(DependencyManager.java:211)
        at org.wildfly.swarm.tools.DependencyManager.analyzeDependencies(DependencyManager.java:125)
        at org.wildfly.swarm.tools.BuildTool.analyzeDependencies(BuildTool.java:321)
        at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:254)
        at org.wildfly.swarm.tools.BuildTool.build(BuildTool.java:201)
        at org.wildfly.swarm.plugin.maven.PackageMojo.executeSpecific(PackageMojo.java:225)
        at org.wildfly.swarm.plugin.maven.AbstractSwarmMojo.execute(AbstractSwarmMojo.java:129)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
        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:282)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find orson:orson:jar:0.5.0 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:219)
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:172)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:564)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:482)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:400)
        ... 43 more
      

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: