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

[3.27.0] Default gradle project created with Quarkus CLI 3.27 depends on io.netty:netty-transport-native-unix-common:4.1.127.Final-redhat-00001 which is not productized

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • +
    • Hide

      1. install Quarkus CLI 3.27.0 via jbang
      2. configure CLI client to use RHBQ 3.27.0.CR1 registry
      3. generate a gradle project and attempt to build it

      quarkus create app app --stream=3.27 --gradle
      cd app
      quarkus build -Dmaven.repo.local=${PATH_TO_REPO} -Dquarkus.analytics.disabled=true
      
      Show
      1. install Quarkus CLI 3.27.0 via jbang 2. configure CLI client to use RHBQ 3.27.0.CR1 registry 3. generate a gradle project and attempt to build it quarkus create app app --stream=3.27 --gradle cd app quarkus build -Dmaven.repo.local=${PATH_TO_REPO} -Dquarkus.analytics.disabled= true
    • ---

      Project generated throught Quarkus CLI 3.27 with RHBQ 3.27.0.CR1 registry configured depends on netty bits that are not productized:

      mjurc@zenobia:~/Playground$ quarkus create app app --stream=3.27 --gradle --errors
      Looking for the newly published extensions in testingregistry
      Looking for the newly published extensions in registry.quarkus.io
      -----------
      
      applying codestarts...
      📚 java
      🔨 gradle
      📦 quarkus
      📝 config-properties
      🔧 tooling-dockerfiles
      🔧 tooling-gradle-wrapper
      🚀 rest-codestart
      
      -----------
      [SUCCESS] ✅  quarkus project has been successfully generated in:
      --> /home/mjurc/Playground/app
      -----------
      Navigate into this directory and get started: quarkus dev
      mjurc@zenobia:~/Playground$ cd app/
      mjurc@zenobia:~/Playground/app$ quarkus build -Dmaven.repo.local=/home/mjurc/Playground/rh-quarkus-platform-3.27.0.GA-maven-repository/maven-repository -Dquarkus.analytics.disabled=true
      > Task :quarkusGenerateAppModel FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':quarkusGenerateAppModel'.
      > Could not resolve all files for configuration ':quarkusProdRuntimeClasspathConfigurationDeployment'.
         > Could not resolve io.netty:netty-transport-native-unix-common:{strictly 4.1.127.Final}.
           Required by:
               root project 'app'
            > Cannot find a version of 'io.netty:netty-transport-native-unix-common' that satisfies the version constraints:
                 Dependency path 'org.acme:app:1.0.0-SNAPSHOT' --> 'io.quarkus:quarkus-rest:3.27.0.redhat-00001' (runtime) --> 'io.quarkus:quarkus-virtual-threads:3.27.0.redhat-00001' (runtime) --> 'io.vertx:vertx-core:4.5.21.redhat-00001' (runtime) --> 'io.netty:netty-handler:4.1.127.Final-redhat-00001' (runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final-redhat-00001'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'com.redhat.quarkus.platform:quarkus-bom:3.27.0.redhat-00002' (enforced-platform-runtime) --> 'io.netty:netty-transport-native-unix-common:4.1.127.Final'
                 Constraint path 'org.acme:app:1.0.0-SNAPSHOT' --> 'io.netty:netty-transport-native-unix-common:{strictly 4.1.127.Final}' because of the following reason: version resolved in configuration ':quarkusProdRuntimeClasspathConfiguration' by consistent resolution
      
      > There are 2 more failures with identical causes.
      
      * Try:
      > Run with --stacktrace option to get the stack trace.
      > Run with --info or --debug option to get more log output.
      > Run with --scan to generate a Build Scan (Powered by Develocity).
      > Get more help at https://help.gradle.org.
      
      BUILD FAILED in 2s
      2 actionable tasks: 2 executed
      
      

              ant@redhat.com Ant Stephenson
              mjurc@redhat.com Michal Jurc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: