Maven dependencies are failing with a 501 error

前端 未结 25 3565
南旧
南旧 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:27

    Add the following repository in pom.xml.

    
    ...
        
            
                central
                Maven Plugin Repository
                https://repo1.maven.org/maven2
                default
                
                    false
                
            
        
    ...
    
    
    

提交回复
热议问题