Sunday, June 25, 2017

How to install Maven on Windows

For windows follow these steps



Step  1 :  Download the Maven's zip file, and unzip it to the directory you wish to install,
                and configure the windows environment variables.
                        Tools used
                               JDK 1.7
                               Maven 3.2.2
                               Windows 8

Step  2 :  Make sure JDK is installed, and "JAVA_HOME" variable is added as                                                   Windows environment variable.

Step  3 :  Visit  Maven official website download the Maven zip file, for example
                             apache-mvn-3.2.2-bin.zip
                Unzip it to the folder you want to install Maven.
                             C:\Program Files\Apache\maven

Step  4 :  Add both M2_HOME and MAVEN_HOME variables in the Windows
                environment.

Step  5:  Update PATH variable, append Maven bin folder- %M2_HOME%\bin, so that
               you can run  the Maven's command everywhere.

Step  6:  Run mvn -version in the command prompt.

No comments:

Post a Comment

Streak methods

I have implemented following methods in Streak API getUser : This call will return the details for the user specified getPipeline: Re...