简体   繁体   中英

How to specify proxy in POM.xml file, no settings.xml file to be found

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.

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

The Config File Provider Plugin :

Adds the ability to provide configuration files (ie, settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job's workspace.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM