How to specify network proxy settings in Maven
The network proxy settings are specified in a file called settings.xml under Home folder (In UbuntuĀ it is /home/username/.m2)
Note: .m2 will be a hidden folder.
The content of the settings.xml will be like
<settings> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>192.168.x.22</host> <port>8080</port> </proxy> </proxies> </settings>