-
Bug
-
Resolution: Done
-
Major
-
3.2.6.CR1
-
None
-
False
-
None
-
False
-
-
-
---
-
-
While building created app by gradle (see reproducer) the gradle can't resolve all the dependencies as they are required by io.quarkus:quarkus-resteasy-reactive-kotlin as gradle trying the resolve the dependency for kotlin as well. This don't happening with maven because quarkus-resteasy-reactive-kotlin is marked as optional. Error while trying to resolve the dependencies
Could not resolve all dependencies for configuration ':detachedConfiguration2'. > Could not find io.netty:netty-handler-proxy:4.1.94.Final-redhat-00001. Searched in the following locations: - https://repo.maven.apache.org/maven2/io/netty/netty-handler-proxy/4.1.94.Final-redhat-00001/netty-handler-proxy-4.1.94.Final-redhat-00001.pom - file:rh-quarkus-platform-3.2.6.GA-maven-repository/maven-repository/io/netty/netty-handler-proxy/4.1.94.Final-redhat-00001/netty-handler-proxy-4.1.94.Final-redhat-00001.pom - https://maven.repository.redhat.com/ga/io/netty/netty-handler-proxy/4.1.94.Final-redhat-00001/netty-handler-proxy-4.1.94.Final-redhat-00001.pom Required by: project : > io.quarkus:quarkus-resteasy-reactive-kotlin:3.2.6.Final-redhat-00001 > io.quarkus:quarkus-resteasy-reactive-common:3.2.6.Final-redhat-00001 > io.quarkus:quarkus-vertx:3.2.6.Final-redhat-00001 > io.smallrye.common:smallrye-common-vertx-context:2.1.0.redhat-00001 > io.vertx:vertx-core:4.4.4.redhat-00001 > Could not find io.netty:netty-resolver-dns:4.1.94.Final-redhat-00001. Searched in the following locations: - https://repo.maven.apache.org/maven2/io/netty/netty-resolver-dns/4.1.94.Final-redhat-00001/netty-resolver-dns-4.1.94.Final-redhat-00001.pom - file:rh-quarkus-platform-3.2.6.GA-maven-repository/maven-repository/io/netty/netty-resolver-dns/4.1.94.Final-redhat-00001/netty-resolver-dns-4.1.94.Final-redhat-00001.pom - https://maven.repository.redhat.com/ga/io/netty/netty-resolver-dns/4.1.94.Final-redhat-00001/netty-resolver-dns-4.1.94.Final-redhat-00001.pom Required by: project : > io.quarkus:quarkus-resteasy-reactive-kotlin:3.2.6.Final-redhat-00001 > io.quarkus:quarkus-resteasy-reactive-common:3.2.6.Final-redhat-00001 > io.quarkus:quarkus-vertx:3.2.6.Final-redhat-00001 > io.smallrye.common:smallrye-common-vertx-context:2.1.0.redhat-00001 > io.vertx:vertx-core:4.4.4.redhat-00001
JFI:
After looking there is io.netty:netty-bom:4.1.94.Final-redhat-00001 which contains artifacts with the same version but productized version of these artifact is 4.1.94.Final-redhat-00002. After change the version in netty-bom to actual productized artifacts it's work with gradle.
<dependency> <groupId>io.netty</groupId> <artifactId>netty-buffer</artifactId> <version>4.1.94.Final-redhat-00001</version> </dependency>
Most probable source of this problem is the optional parameter in pom which is not used with gradle and by this we end up with some productized kotlin artifacts.