Maven Settings for multiple repositories

前端 未结 4 1920
無奈伤痛
無奈伤痛 2020-12-13 04:37

I have the following in settings.xml


       
          paid-jars         


        
4条回答
  •  醉梦人生
    2020-12-13 05:12

    you have to setup mirror

    
      nexus
      *
      http://internal/nexus/content/repositories/thirdparty
    
    
     
      google
      google
      http://google-maven-repository.googlecode.com/svn/repository
       
    

    then add internal & external repo

    
         nexus
      
    
        
          central
          central
          http://internal/nexus/content/repositories/thirdparty
        
    
    
        
          google
          google
          http://google-maven-repository.googlecode.com/svn/repository
        
    
      
    
    

提交回复
热议问题