Maven dependencies are failing with a 501 error

前端 未结 25 3557
南旧
南旧 2020-11-22 06:28

Recently Maven build jobs running in Jenkins are failing with the below exception saying that they couldn\'t pull dependencies from Maven Central

25条回答
  •  自闭症患者
    2020-11-22 07:10

    My current environment does not support HTTPS, so adding the insecure version of the repo solved my problem: http://insecure.repo1.maven.org as per Sonatype

        
           
              Central Maven repository
              Central Maven repository insecure
              http://insecure.repo1.maven.org
           
        
    

提交回复
热议问题