Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-3980

Dependency vertx-stack-depchain is missing from Maven zip but downloaded by Mvn plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 3.2.10.CR1
    • team/prod
    • Hide
      Show
      Run https://main-jenkins-csb-quarkusqe.apps.ocp-c1.prod.psi.redhat.com/view/rhbq-3.2-acceptance/job/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/16/ without mvn central. Download maven zip, go to rh-quarkus-platform-3.2.10.GA-maven-repository/maven-repository/io/smallrye/reactive/smallrye-reactive-messaging-kafka/4.6.1.redhat-00001 , make copy of smallrye-reactive-messaging-kafka-4.6.1.redhat-00001.pom named pom.xml  and run  mvn compile dependency:tree -Dmaven.repo.local=/home/mvavrik/rhbq/rh-quarkus-platform-3.2.10.GA-maven-repository/maven-repository  you will see that  vertx-stack-depchain  is downloaded among first deps
    • ---
    • Red Hat build of Quarkus

      Compiling created RHBQ 3.2.10.CR1 application with extension smallrye-reactive-messaging-kafka via Quarkus maven plugin doesn't work without access to Maven central. Dependency vertx-stack-depchain is required, but I can't see it among transitive dependencies. I wonder if it is the plugin specific, or not. I think it the dependency is required, it should be in repo zip. Naturally this will only fail without access to Maven central repo.

      Jenkins job ref.: https://main-jenkins-csb-quarkusqe.apps.ocp-c1.prod.psi.redhat.com/view/rhbq-3.2-acceptance/job/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/16/

      Failure logs: 

      Running: mvn -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/test-suite/rh-quarkus-platform-3.2.10.GA-maven-repository/maven-repository/ -Dquarkus-plugin.version=3.2.10.Final-redhat-00001 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom com.redhat.quarkus.platform:quarkus-maven-plugin:3.2.10.Final-redhat-00001:create -DprojectGroupId=io.quarkus.qe -DprojectArtifactId=smallrye-reactive-messaging-kafka -DprojectVersion=1.0.0-SNAPSHOT -DplatformGroupId=com.redhat.quarkus.platform -DplatformArtifactId=quarkus-bom -Dextensions=smallrye-reactive-messaging-kafka -DquarkusRegistryClient=false
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] --------------------------------[ pom ]---------------------------------
      [INFO] 
      [INFO] --- quarkus-maven-plugin:3.2.10.Final-redhat-00001:create (default-cli) @ standalone-pom ---
      [WARNING] The extension catalog will be narrowed to the com.redhat.quarkus.platform:quarkus-bom:3.2.10.Final-redhat-00001 platform release. To enable the complete Quarkiverse extension catalog along with the latest recommended platform releases, please, make sure the extension registry client is enabled.
      [INFO] -----------
      [INFO] selected extensions: 
      - io.quarkus:quarkus-smallrye-reactive-messaging-kafka[INFO] 
      applying codestarts...
      [INFO] 📚 java
      🔨 maven
      📦 quarkus
      📝 config-properties
      🔧 dockerfiles
      🔧 maven-wrapper
      🚀 reactive-messaging-codestart
      [INFO] 
      -----------
      [SUCCESS] ✅  quarkus project has been successfully generated in:
      --> /home/hudson/hudson_workspace/workspace/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/test-suite/target/smallrye-reactive-messaging-kafka
      -----------
      [INFO] 
      [INFO] ========================================================================================
      [INFO] Your new application has been created in /home/hudson/hudson_workspace/workspace/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/test-suite/target/smallrye-reactive-messaging-kafka
      [INFO] Navigate into this directory and launch your application with mvn quarkus:dev
      [INFO] Your application will be accessible on http://localhost:8080
      [INFO] ========================================================================================
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  5.840 s
      [INFO] Finished at: 2024-02-05T20:03:56Z
      [INFO] ------------------------------------------------------------------------
      Running: mvn -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/test-suite/rh-quarkus-platform-3.2.10.GA-maven-repository/maven-repository/ -Dquarkus-plugin.version=3.2.10.Final-redhat-00001 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom package -DskipTests -DskipITs
      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ----------< io.quarkus.qe:smallrye-reactive-messaging-kafka >-----------
      [INFO] Building smallrye-reactive-messaging-kafka 1.0.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      Downloading from jboss-central-quarkus-mirror: http://nexus.dynamic.quarkus:8081/repository/jboss/io/vertx/vertx-stack-depchain/4.4.1/vertx-stack-depchain-4.4.1.pom
      Downloading from nexus-snapshots-mirror: http://nexus.dynamic.quarkus:8081/repository/maven-snapshots/io/vertx/vertx-stack-depchain/4.4.1/vertx-stack-depchain-4.4.1.pom
      Downloading from redhat: https://maven.repository.redhat.com/ga/io/vertx/vertx-stack-depchain/4.4.1/vertx-stack-depchain-4.4.1.pom
      Downloading from central: https://repo.maven.apache.org/maven2/io/vertx/vertx-stack-depchain/4.4.1/vertx-stack-depchain-4.4.1.pom
      Downloading from jboss-central-quarkus-mirror: http://nexus.dynamic.quarkus:8081/repository/jboss/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom-alpha/1.25.0-alpha/opentelemetry-instrumentation-bom-alpha-1.25.0-alpha.pom
      Downloading from nexus-snapshots-mirror: http://nexus.dynamic.quarkus:8081/repository/maven-snapshots/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom-alpha/1.25.0-alpha/opentelemetry-instrumentation-bom-alpha-1.25.0-alpha.pom
      Downloading from redhat: https://maven.repository.redhat.com/ga/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom-alpha/1.25.0-alpha/opentelemetry-instrumentation-bom-alpha-1.25.0-alpha.pom
      Downloading from central: https://repo.maven.apache.org/maven2/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom-alpha/1.25.0-alpha/opentelemetry-instrumentation-bom-alpha-1.25.0-alpha.pom
      Progress (1): 2.8/20 kB
      Progress (1): 5.5/20 kB
      Progress (1): 8.3/20 kB
      Progress (1): 11/20 kB 
      Progress (1): 14/20 kB
      Progress (1): 17/20 kB
      Progress (1): 19/20 kB
      Progress (1): 20 kB   
                         
      Downloaded from central: https://repo.maven.apache.org/maven2/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom-alpha/1.25.0-alpha/opentelemetry-instrumentation-bom-alpha-1.25.0-alpha.pom (20 kB at 7.1 kB/s)
      Downloading from jboss-central-quarkus-mirror: http://nexus.dynamic.quarkus:8081/repository/jboss/io/opentelemetry/opentelemetry-bom/1.25.0/opentelemetry-bom-1.25.0.pom
      Downloading from nexus-snapshots-mirror: http://nexus.dynamic.quarkus:8081/repository/maven-snapshots/io/opentelemetry/opentelemetry-bom/1.25.0/opentelemetry-bom-1.25.0.pom
      Downloading from redhat: https://maven.repository.redhat.com/ga/io/opentelemetry/opentelemetry-bom/1.25.0/opentelemetry-bom-1.25.0.pom
      Downloading from central: https://repo.maven.apache.org/maven2/io/opentelemetry/opentelemetry-bom/1.25.0/opentelemetry-bom-1.25.0.pom
      Progress (1): 2.8/6.0 kB
      Progress (1): 5.5/6.0 kB
      Progress (1): 6.0 kB    
                          
      Downloaded from central: https://repo.maven.apache.org/maven2/io/opentelemetry/opentelemetry-bom/1.25.0/opentelemetry-bom-1.25.0.pom (6.0 kB at 131 kB/s)
      Downloading from jboss-central-quarkus-mirror: http://nexus.dynamic.quarkus:8081/repository/jboss/io/opentelemetry/opentelemetry-bom-alpha/1.25.0-alpha/opentelemetry-bom-alpha-1.25.0-alpha.pom
      Downloading from nexus-snapshots-mirror: http://nexus.dynamic.quarkus:8081/repository/maven-snapshots/io/opentelemetry/opentelemetry-bom-alpha/1.25.0-alpha/opentelemetry-bom-alpha-1.25.0-alpha.pom
      Downloading from redhat: https://maven.repository.redhat.com/ga/io/opentelemetry/opentelemetry-bom-alpha/1.25.0-alpha/opentelemetry-bom-alpha-1.25.0-alpha.pom
      Downloading from central: https://repo.maven.apache.org/maven2/io/opentelemetry/opentelemetry-bom-alpha/1.25.0-alpha/opentelemetry-bom-alpha-1.25.0-alpha.pom
      Progress (1): 2.8/4.2 kB
      Progress (1): 4.2 kB    
                          
      Downloaded from central: https://repo.maven.apache.org/maven2/io/opentelemetry/opentelemetry-bom-alpha/1.25.0-alpha/opentelemetry-bom-alpha-1.25.0-alpha.pom (4.2 kB at 104 kB/s)
      Downloading from jboss-central-quarkus-mirror: http://nexus.dynamic.quarkus:8081/repository/jboss/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom/1.25.0/opentelemetry-instrumentation-bom-1.25.0.pom
      Downloading from nexus-snapshots-mirror: http://nexus.dynamic.quarkus:8081/repository/maven-snapshots/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom/1.25.0/opentelemetry-instrumentation-bom-1.25.0.pom
      Downloading from redhat: https://maven.repository.redhat.com/ga/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom/1.25.0/opentelemetry-instrumentation-bom-1.25.0.pom
      Downloading from central: https://repo.maven.apache.org/maven2/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom/1.25.0/opentelemetry-instrumentation-bom-1.25.0.pom
      Progress (1): 2.5 kB
                          
      Downloaded from central: https://repo.maven.apache.org/maven2/io/opentelemetry/instrumentation/opentelemetry-instrumentation-bom/1.25.0/opentelemetry-instrumentation-bom-1.25.0.pom (2.5 kB at 58 kB/s)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  38.651 s
      [INFO] Finished at: 2024-02-05T20:04:38Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project smallrye-reactive-messaging-kafka: Could not resolve dependencies for project io.quarkus.qe:smallrye-reactive-messaging-kafka:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at io.quarkus:quarkus-smallrye-reactive-messaging-kafka:jar:3.2.10.Final-redhat-00001 -> io.smallrye.reactive:smallrye-reactive-messaging-kafka:jar:4.6.1.redhat-00001: Failed to read artifact descriptor for io.smallrye.reactive:smallrye-reactive-messaging-kafka:jar:4.6.1.redhat-00001: Could not transfer artifact io.vertx:vertx-stack-depchain:pom:4.4.1 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/io/vertx/vertx-stack-depchain/4.4.1/vertx-stack-depchain-4.4.1.pom: No route to host -> [Help 1]
      [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/DependencyResolutionException
      FAILED (return code 1) when running: mvn -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/rhbq-3.2-rhel8-jdk17-extensions-combinations-ts/test-suite/rh-quarkus-platform-3.2.10.GA-maven-repository/maven-repository/ -Dquarkus-plugin.version=3.2.10.Final-redhat-00001 -Dquarkus.platform.group-id=com.redhat.quarkus.platform -Dquarkus.platform.artifact-id=quarkus-bom package -DskipTests -DskipITs 

            varjain@redhat.com Vardhman Jain
            rh-ee-mvavrik Michal Vavrik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: