Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7552 Fix Fuse 7.0 release pipeline
  3. ENTESB-7553

Fix fuse-components release pipeline step which doesn't have access to sap private artifacts

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-7.0
    • fuse-7.0
    • None
    • % %
    • Fuse 7.0 Sprint 22

      [ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Could not transfer artifact com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2 from/to fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all): Not authorized , ReasonPhrase:Unauthorized.
      [ERROR] com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2
      [ERROR] 
      [ERROR] from the specified remote repositories:
      [ERROR] apache-snapshot (http://repository.apache.org/snapshots/, releases=true, snapshots=true),
      [ERROR] ea-repo (http://origin-repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
      [ERROR] missingironjacamar (http://download-node-02.eng.bos.redhat.com/brewroot/packages/org.jboss.ironjacamar-ironjacamar-project/1.4.4.Final_redhat_1/1/maven/, releases=true, snapshots=true),
      [ERROR] central (http://repo1.maven.org/maven2/, releases=true, snapshots=true),
      [ERROR] fs-jboss-public (https://repository.jboss.org/nexus/content/groups/fs-public/, releases=true, snapshots=true),
      [ERROR] fs-snapshots (http://repository.jboss.org/nexus/content/repositories/fs-snapshots, releases=true, snapshots=true),
      [ERROR] jboss-public (https://repository.jboss.org/nexus/content/groups/public/, releases=true, snapshots=true),
      [ERROR] redhat-ga-repository (http://maven.repository.redhat.com/ga, releases=true, snapshots=true),
      [ERROR] redhat-ea-repository (http://maven.repository.redhat.com/earlyaccess/all/, releases=true, snapshots=true),
      [ERROR] fuse-ea (https://origin-repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
      [ERROR] jboss-staging (https://origin-repository.jboss.org/nexus/content/groups/staging, releases=true, snapshots=true),
      [ERROR] fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all, releases=true, snapshots=true),
      [ERROR] c24-public (http://repo.c24io.net/nexus/content/groups/public/, releases=true, snapshots=true),
      [ERROR] enterprise (http://maven.repository.redhat.com/techpreview/all/, releases=true, snapshots=true),
      [ERROR] jb-eap-7.0-rhel-7-build (http://download.eng.bos.redhat.com/brewroot/repos/jb-eap-7.1-rhel-7-maven-build/latest/maven, releases=true, snapshots=true),
      [ERROR] kie-internal-staging-repository-group (https://repository.jboss.org/nexus/content/groups/kie-internal-group, releases=true, snapshots=true),
      [ERROR] kie-repository-group (https://repository.jboss.org/nexus/content/repositories/kie, releases=true, snapshots=true),
      [ERROR] jboss-common-repository-group (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-common-build/latest/maven, releases=true, snapshots=true),
      [ERROR] fis-brew-repository-group (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-fis-2.0-maven-build/latest/maven, releases=true, snapshots=true),
      [ERROR] jb-amq7 (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-amq-7-build/latest/maven, releases=true, snapshots=true),
      [ERROR] eclipse-neon (http://download.eclipse.org/releases/neon/, releases=false, snapshots=false),
      [ERROR] ea (https://repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
      [ERROR] brewroot (http://download.eng.bos.redhat.com/brewroot/repos/jb-fuse-6.2-build/latest/maven, releases=true, snapshots=false),
      [ERROR] fusesource-third-party-internal (https://repository.jboss.org/nexus/content/repositories/fs-releases/, releases=true, snapshots=true),
      [ERROR] RH2 (http://download.eng.bos.redhat.com/brewroot/repos/jb-fsw-6.2-build/latest/maven, releases=true, snapshots=true),
      [ERROR] jboss.public.repo (http://repository.jboss.org/nexus/content/repositories/public, releases=true, snapshots=true),
      [ERROR] apache.snapshots (http://repository.apache.org/snapshots/, releases=false, snapshots=true)
      [ERROR] Path to dependency:
      [ERROR] 1) org.fusesource:org.fusesource.camel.component.sap.model:pom:7.0.0-SNAPSHOT
      [ERROR] 2) com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2
      [ERROR] -> [Help 1]
      org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve project dependencies
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:121)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      	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:289)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: java.lang.RuntimeException: Could not resolve project dependencies
      	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:282)
      	at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:204)
      	at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:109)
      	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:95)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:266)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      	... 11 more
      Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not transfer artifact com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2 from/to fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all): Not authorized , ReasonPhrase:Unauthorized.
        com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2
      
      from the specified remote repositories:
        apache-snapshot (http://repository.apache.org/snapshots/, releases=true, snapshots=true),
        ea-repo (http://origin-repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
        missingironjacamar (http://download-node-02.eng.bos.redhat.com/brewroot/packages/org.jboss.ironjacamar-ironjacamar-project/1.4.4.Final_redhat_1/1/maven/, releases=true, snapshots=true),
        central (http://repo1.maven.org/maven2/, releases=true, snapshots=true),
        fs-jboss-public (https://repository.jboss.org/nexus/content/groups/fs-public/, releases=true, snapshots=true),
        fs-snapshots (http://repository.jboss.org/nexus/content/repositories/fs-snapshots, releases=true, snapshots=true),
        jboss-public (https://repository.jboss.org/nexus/content/groups/public/, releases=true, snapshots=true),
        redhat-ga-repository (http://maven.repository.redhat.com/ga, releases=true, snapshots=true),
        redhat-ea-repository (http://maven.repository.redhat.com/earlyaccess/all/, releases=true, snapshots=true),
        fuse-ea (https://origin-repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
        jboss-staging (https://origin-repository.jboss.org/nexus/content/groups/staging, releases=true, snapshots=true),
        fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all, releases=true, snapshots=true),
        c24-public (http://repo.c24io.net/nexus/content/groups/public/, releases=true, snapshots=true),
        enterprise (http://maven.repository.redhat.com/techpreview/all/, releases=true, snapshots=true),
        jb-eap-7.0-rhel-7-build (http://download.eng.bos.redhat.com/brewroot/repos/jb-eap-7.1-rhel-7-maven-build/latest/maven, releases=true, snapshots=true),
        kie-internal-staging-repository-group (https://repository.jboss.org/nexus/content/groups/kie-internal-group, releases=true, snapshots=true),
        kie-repository-group (https://repository.jboss.org/nexus/content/repositories/kie, releases=true, snapshots=true),
        jboss-common-repository-group (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-common-build/latest/maven, releases=true, snapshots=true),
        fis-brew-repository-group (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-fis-2.0-maven-build/latest/maven, releases=true, snapshots=true),
        jb-amq7 (http://download-node-02.eng.bos.redhat.com/brewroot/repos/jb-amq-7-build/latest/maven, releases=true, snapshots=true),
        eclipse-neon (http://download.eclipse.org/releases/neon/, releases=false, snapshots=false),
        ea (https://repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=true),
        brewroot (http://download.eng.bos.redhat.com/brewroot/repos/jb-fuse-6.2-build/latest/maven, releases=true, snapshots=false),
        fusesource-third-party-internal (https://repository.jboss.org/nexus/content/repositories/fs-releases/, releases=true, snapshots=true),
        RH2 (http://download.eng.bos.redhat.com/brewroot/repos/jb-fsw-6.2-build/latest/maven, releases=true, snapshots=true),
        jboss.public.repo (http://repository.jboss.org/nexus/content/repositories/public, releases=true, snapshots=true),
        apache.snapshots (http://repository.apache.org/snapshots/, releases=false, snapshots=true)
      Path to dependency: 
      	1) org.fusesource:org.fusesource.camel.component.sap.model:pom:7.0.0-SNAPSHOT
      	2) com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2
      
      
      	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:225)
      	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.access$000(DefaultArtifactResolver.java:74)
      	at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveTask.run(DefaultArtifactResolver.java:613)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2 from/to fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all): Not authorized , ReasonPhrase:Unauthorized.
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
      	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
      	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:215)
      	... 5 more
      Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.sap.conn.jco:com.sap.conn.jco:jar:3.0.11.redhat_2 from/to fuse-all-legacy (https://repository.jboss.org/nexus/content/repositories/fs-maven2-all): Not authorized , ReasonPhrase:Unauthorized.
      	at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43)
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
      	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
      	... 9 more
      Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Not authorized , ReasonPhrase:Unauthorized.
      	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1005)
      	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:960)
      	at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
      	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
      	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
      	at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run(WagonTransporter.java:560)
      	at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)
      	at org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:404)
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
      	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
      	... 14 more
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
      

        1. screenshot-1.png
          194 kB
          Aurélien Pupier

              jnethert@redhat.com James Netherton
              apupier@redhat.com Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: