如何在POM.xml文件中指定代理,找不到settings.xml文件 [英] How to specify proxy in POM.xml file, no settings.xml file to be found
本文介绍了如何在POM.xml文件中指定代理,找不到settings.xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在已设置的从属服务器上运行设置的jenkins作业,奇怪的是找不到{MAVEN_HOME}/conf/settings.xml文件,因此我无法指定那里的代理.
I'd like to run a set up a jenkins job on a slave I have set up, weird thing is that there is no {MAVEN_HOME}/conf/settings.xml file to be found, so I can't specify the proxy there.
如何在pom.xml文件中指定代理,因此可以绕开公司防火墙.任何帮助或指导将不胜感激.谢谢
How can I specify a proxy in my pom.xml file, so I can get around my compnay firewall. Any help or guidance would be much appreciated. Thanks
推荐答案
查看全文