Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24781

Repository Connector Plugin failed to resolve dependency after upgrade (0.8.2 -> 1.0.1)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • * Jenkins LTS 1.565.2 (deployed as war inside of Tomcat)
      * Sonatype Nexus OSS 2.8.1

      imod

      Job fails after Repository Connector Plugin upgrade (0.8.2 -> 1.0.1); please note that same artifact (with same artifact version) is resolved as expected with 0.8.2.

      Stack trace:

      2014-09-19 12:25:54 INFO  [bio-8080-exec-7] - org.sonatype.security.model.source.FileModelConfigurationSource - Loading security configuration from: /home/TECH/tomcat/sonatype-work/nexus/conf/security.xml
      2014-09-19 12:25:55 INFO  [bio-8080-exec-7] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "oss-snapshots" [id=oss-snapshots]...
      2014-09-19 12:25:55 INFO  [bio-8080-exec-7] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "Apache Snapshots" [id=apache-snapshots]...
      2014-09-19 12:25:55 INFO  [bio-8080-exec-7] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "Codehaus Snapshots" [id=codehaus-snapshots]...
      2014-09-19 12:25:55 INFO  [bio-8080-exec-7] - org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "scct" [id=scct]...
      2014-09-19 12:25:56 INFO  [bio-8080-exec-7] - org.sonatype.nexus.velocity.VelocityEngineProvider - Creating Nexus VelocityEngine
      Sep 19, 2014 12:25:56 PM org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver logError
      SEVERE: failed to resolve dependency for [Artifact ************}]
      org.sonatype.aether.resolution.DependencyResolutionException: Could not find ************ in nexus (/************nexus/content/groups/public)
              at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
              at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.resolve(Aether.java:157)
              at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:129)
              at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101)
              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:756)
              at hudson.model.Build$BuildExecution.build(Build.java:198)
              at hudson.model.Build$BuildExecution.doRun(Build.java:159)
              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
              at hudson.model.Run.execute(Run.java:1706)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:88)
              at hudson.model.Executor.run(Executor.java:232)
      Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact ***************** in nexus (************/nexus/content/groups/public)
              at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:537)
              at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
              at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
              ... 12 more
      Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact ***************** in nexus (************/nexus/content/groups/public)
              at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:971)
              at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:966)
              at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:707)
              at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:701)
              at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:452)
              at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:456)
              ... 14 more
      

            imod Dominik Bartholdi
            dejan2609 Dejan Stojadinović
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: