Changing to https fixed it for me. I can't easily repro this as it seems the settings are already adopted in mvn somewhere. But happy to provide repro instructions if needed.
Either way I think you want your code repo connections to be encrypted for security reasons.
When running
mvn clean install -X
I was getting this errorBlocked mirror for repositories
. According to this you need https for the repo urls: https://stackoverflow.com/questions/67833372/getting-blocked-mirror-for-repositories-maven-error-even-after-adding-mirrorsChanging to https fixed it for me. I can't easily repro this as it seems the settings are already adopted in mvn somewhere. But happy to provide repro instructions if needed.
Either way I think you want your code repo connections to be encrypted for security reasons.