Slide 1
Excellent Education Program
Innovative Methods of Teaching

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 3
Learning Through Play
Find a Class for your Children

Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis.

previous arrow
next arrow

How to set Internet Proxy for Maven Repository

Spread the Knowledge

There are following ways to set a internet proxy in maven.

Method 1 – Command Line with mvn

Method 2 – Using MAVEN_OPTS set in system env or command line

# WINDOWS
set MAVEN_OPTS="-DproxySet=true -DproxyHost= -DproxyPort=3128 -DproxyUsername= -DproxyPassword="
# LINUX
export MAVEN_OPTS="-DproxySet=true -DproxyHost= -DproxyPort=3128 -DproxyUsername= -DproxyPassword="

Method 3 – Maven proxy settings – Eclipse

To use proxy settings in eclipse while using maven, follow these steps:

  • Open your Eclipse and go to Window -> Preferences.
  • Click on the Browse button of User Settings, and select the settings.xml.

Mehtod 4 – In Maven Configuration $HOME/.m2/settings.xml

Rajesh Kumar