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

[3.20.3] Default gradle project created with Quarkus CLI 3.20 depends on netty 4.1.125.Final-redhat-00001 which is not productized

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ---

      RHBQ 3.20.3 - unable to generate+build gradle application.

      Maven repository for 3.20.3.CR3 doesn't not include netty artifacts version 4.1.125.Final-redhat-00001 which is required in other artifacts.

      Artifact `io.vertx.vertx-dependencies:4.5.21.redhat-00001`, used in the build, specifies netty version `4.1.125.Final-redhat-00001`.

      This leads to failure in dependency resolution with dependency chain:

      io.quarkus:quarkus-rest-kotlin:3.20.3.redhat-00003 > io.quarkus:quarkus-rest-common:3.20.3.redhat-00003 > io.quarkus:quarkus-vertx:3.20.3.redhat-00003 > io.smallrye.common:smallrye-common-vertx-context:2.12.2.redhat-00001 > io.vertx:vertx-core:4.5.21.redhat-00001  >
      io.netty:netty-handler-proxy:4.1.125.Final-redhat-00001 

      CLI installed using:

      curl -Ls https://sh.jbang.dev | bash -s - app install --name quarkus --fresh --force io.quarkus:quarkus-cli:3.20.3:runner 

      Failing scenario: https://jenkins-csb-quarkusqe-main.dno.corp.redhat.com/view/rhbq-3.20-general/job/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/14/testReport/io.quarkus.ts.quarkus.cli/QuarkusCliCreateJvmApplicationIT/shouldCreateApplicationWithGradleOnJvm_QuarkusVersionAwareCliClient__1_/

      Scenario details:

      11:21:02,964 INFO  ## Running test shouldCreateApplicationWithGradleOnJvm(QuarkusVersionAwareCliClient).3.20.3.redhat-00006 set explicitly
      11:21:02,966 INFO  quarkus create app app --stream=3.20 --gradle
      11:21:06,711 INFO  Looking for the newly published extensions in registry.quarkus.io
      11:21:06,711 INFO  -----------
      11:21:06,711 INFO  applying codestarts...
      11:21:06,711 INFO  📚 java
      11:21:06,711 INFO  🔨 gradle
      11:21:06,711 INFO  📦 quarkus
      11:21:06,711 INFO  📝 config-properties
      11:21:06,711 INFO  🔧 tooling-dockerfiles
      11:21:06,711 INFO  🔧 tooling-gradle-wrapper
      11:21:06,711 INFO  🚀 rest-codestart
      11:21:06,711 INFO  -----------
      11:21:06,711 INFO  [SUCCESS] ✅  quarkus project has been successfully generated in:
      11:21:06,711 INFO  --> /home/hudson/hudson_workspace/workspace/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/quarkus-test-suite/quarkus-cli/target/QuarkusCliCreateJvmApplicationIT/app
      11:21:06,711 INFO  -----------
      11:21:06,711 INFO  Navigate into this directory and get started: quarkus dev
      11:21:32,789 INFO  quarkus build -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/quarkus-test-suite/quarkus-maven-repo/maven-repository/ -Dquarkus.analytics.disabled=true --batch-mode
      11:21:52,732 INFO  [Incubating] Problems report is available at: file:///home/hudson/hudson_workspace/workspace/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/quarkus-test-suite/quarkus-cli/target/QuarkusCliCreateJvmApplicationIT/app/build/reports/problems/problems-report.html
      11:21:52,732 INFO  FAILURE: Build failed with an exception.
      11:21:52,732 INFO  * What went wrong:
      11:21:52,732 INFO  Could not determine the dependencies of task ':quarkusGenerateAppModel'.
      11:21:52,732 INFO  > Could not resolve all artifacts for configuration ':detachedConfiguration2'.
      11:21:52,732 INFO     > Could not find io.netty:netty-handler-proxy:4.1.125.Final-redhat-00001.
      11:21:52,732 INFO       Searched in the following locations:
      11:21:52,732 INFO         - https://repo.maven.apache.org/maven2/io/netty/netty-handler-proxy/4.1.125.Final-redhat-00001/netty-handler-proxy-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO         - file:/home/hudson/hudson_workspace/workspace/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/quarkus-test-suite/quarkus-maven-repo/maven-repository/io/netty/netty-handler-proxy/4.1.125.Final-redhat-00001/netty-handler-proxy-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO         - https://maven.repository.redhat.com/ga/io/netty/netty-handler-proxy/4.1.125.Final-redhat-00001/netty-handler-proxy-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO       Required by:
      11:21:52,732 INFO           root project : > io.quarkus:quarkus-rest-kotlin:3.20.3.redhat-00003 > io.quarkus:quarkus-rest-common:3.20.3.redhat-00003 > io.quarkus:quarkus-vertx:3.20.3.redhat-00003 > io.smallrye.common:smallrye-common-vertx-context:2.12.2.redhat-00001 > io.vertx:vertx-core:4.5.21.redhat-00001
      11:21:52,732 INFO     > Could not find io.netty:netty-resolver-dns:4.1.125.Final-redhat-00001.
      11:21:52,732 INFO       Searched in the following locations:
      11:21:52,732 INFO         - https://repo.maven.apache.org/maven2/io/netty/netty-resolver-dns/4.1.125.Final-redhat-00001/netty-resolver-dns-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO         - file:/home/hudson/hudson_workspace/workspace/rhbq-3.20-rhel8-jdk17-baremetal-ts-jvm-cli/quarkus-test-suite/quarkus-maven-repo/maven-repository/io/netty/netty-resolver-dns/4.1.125.Final-redhat-00001/netty-resolver-dns-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO         - https://maven.repository.redhat.com/ga/io/netty/netty-resolver-dns/4.1.125.Final-redhat-00001/netty-resolver-dns-4.1.125.Final-redhat-00001.pom
      11:21:52,732 INFO       Required by:
      11:21:52,732 INFO           root project : > io.quarkus:quarkus-rest-kotlin:3.20.3.redhat-00003 > io.quarkus:quarkus-rest-common:3.20.3.redhat-00003 > io.quarkus:quarkus-vertx:3.20.3.redhat-00003 > io.smallrye.common:smallrye-common-vertx-context:2.12.2.redhat-00001 > io.vertx:vertx-core:4.5.21.redhat-00001
      11:21:52,732 INFO  * Try:
      11:21:52,732 INFO  > Run with --stacktrace option to get the stack trace.
      11:21:52,732 INFO  > Run with --info or --debug option to get more log output.
      11:21:52,732 INFO  > Run with --scan to get full insights.
      11:21:52,732 INFO  > Get more help at https://help.gradle.org.
      11:21:52,732 INFO  Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
      11:21:52,732 INFO  You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
      11:21:52,732 INFO  For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
      11:21:52,732 INFO  BUILD FAILED in 17s 

       

              ant@redhat.com Ant Stephenson
              mocenas@redhat.com Martin Ocenas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: