Frawless commented on PR #26869:
URL: https://github.com/apache/flink/pull/26869#issuecomment-3183528283

   I did some digging around it and it seems that `commons-lang3` is based on 
`commons-parent` v85 which uses `junit 5.13.1`. During Flink build the BOM of 
junit is requested to get metadata and then the junit version from Flink is 
used which means that dependency tree contains only `junit 5.11.4` which is 
desired. However, google-mirror used as mirror for maven central doesn't have 
junit 5.13.x so that's the reason why the build fails in CI.
   
   As a solution/workaround I added maven-central into google mirror config to 
make [CI working](https://github.com/Frawless/flink/actions/runs/16880093802). 
When anyone try it without `--settings tools/ci/google-mirror-settings.xml` 
then if is working completely fine as maven central will be used (probably, it 
depends on local config). 
   
   I tried to exclude completely junit 5.13.1, however as it is just for BOM 
metadata download I wasn't able to find a proper solution. If anyone knows how 
to achieve that I will be more than happy to give it a try. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to