Maven plugin not using Eclipse's proxy settings

前端 未结 3 605
离开以前
离开以前 2020-12-07 11:55

I am using springsource tool suite 2.7.2, based on Eclipse 3.7. The Maven plugin comes now out of the box with Eclipse which is great, and this problem occurred even with pr

3条回答
  •  执念已碎
    2020-12-07 12:59

    Maven plugin uses a settings file where the configuration can be set. Its path is available in Eclipse at Window|Preferences|Maven|User Settings. If the file doesn't exist, create it and put on something like this:

    
      
      
      
      
      
      
      
      
        
          myproxy
          true
          http
          192.168.1.100
          6666
          
          
          localhost|127.0.0.1
        
      
      
      
    
    

    After editing the file, it's just a matter of clicking on Update Settings button and it's done. I've just done it and it worked :)

提交回复
热议问题