Configuration steps for create simple maven project
Download and install jdk-7u3-windows-i586 and setup the class path
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html
Download and install apache-maven-3.0.4 and setup the path
Open command line and type "mvn --version" to verify the successful installation
If installation is correct the following message will be shown
Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.0.4
Java version: 1.7.0_03, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_03\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
Setup proxy sever to create a maven project
Open "C:\Program Files\Apache Software Foundation\apache-maven-3.0.4\ conf " folder
Edit the settings.xml file using the following code with appropriate proxy details
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxy_netuser</ username>
<password> proxy_netuser </password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some. host.com</nonProxyHosts>
</proxy>
</proxies>
git hub proxy setup
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
No comments:
Post a Comment