| Forum

How to setup proxy for Maven?

I have installed Maven and trying to do a build through Jenkins with Maven (pom.xml).
In the Jenkins build log file, I could see that there are connection timeout errors while trying to install Maven dependencies.
Since the server is in a corporate network, I have to configure a proxy for Maven to connect to the external servers.
How to configure proxy for Maven?
Setting http_proxy/https_proxy environment variable does not have any impact.

your good information and good question but i am not idea.