GitHub user pratyuxxhh created a discussion: [Q/A]  Build fails with unresolved 
Netty native QUIC dependency on JDK 25

### Pre-check

- [X] I am sure that all the content I provide is in English.


### Apache Dubbo Component

Java SDK (apache/dubbo)

### Details

Hi everyone 

I'm currently working on upgrading Dubbo to build successfully with JDK 25 (on 
my fork, branch `jdk-25`).  
During the build process, Maven fails with the following error:


'''
io.netty:netty-codec-native-quic:jar:${os.detected.name}-${os.detected.arch}:4.2.2.Final
 was not found in https://repo.maven.apache.org/maven2 during a previous 
attempt. This failure was cached in the local repository and resolution is not 
reattempted until the update interval of central has elapsed or updates are 
forced
'''


I tried forcing updates with `./mvnw clean install -U -DskipTests` and verified 
that `os-maven-plugin` is declared, but the placeholders (`${os.detected.name}` 
and `${os.detected.arch}`) don’t seem to be resolving correctly.

Environment:
- JDK 25 (early access)
- Maven Wrapper from Dubbo repo
- OS: Windows 11 x64

Could this be related to the plugin version, or should the Netty dependency be 
adjusted for newer JDKs?
Any guidance or confirmation would be appreciated 


### Code of Conduct

- [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


GitHub link: https://github.com/apache/dubbo/discussions/15749

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to