It seems the agents in azure have maven upgraded lately : in my build of a couple of days ago, it was still using maven 3.6.3, but now it's 3.8.1.
Release notes :
https://maven.apache.org/docs/3.8.1/release-notes.html
Starting from this build, http is now by default blocked.
The best solution would be to upgrade your repositories to https.
You can create exceptions, I found this stackOverflow answer about it :
https://stackoverflow.com/questions/66980047/maven-build-failure-dependencyresolutionexception