Recently Maven build jobs running in Jenkins are failing with the below exception saying that they couldn\'t pull dependencies from Maven Central
As stated in other answers, https is now required to make requests to Maven Central, while older versions of Maven use http.
If you don't want to/cannot upgrade to Maven 3.2.3+, you can do a workaround by adding the following code into your MAVEN_HOME\conf\settings.xml into the
section:
maven-https
true
central
https://repo1.maven.org/maven2
false
central
https://repo1.maven.org/maven2
false
This will be always an active setting unless you disable/override it in your POM when needed.