How to install MAVEN in Windows ?
In our last post, we have learned how to install Java in windows machine.Now to start our Java web development we need a build tool.Although we can develop our web project without Maven also but its recommend using Maven as it reduces a lot of development time and effort by automating building project.Maven takes care of jar dependency, clean, build, packaging and other project maintenance task.
Before Installing Maven make sure JDK is installed in machine and environment variable is set.
Setting up the environment variable for maven as we did for Java
Give you suggestion in comments.If you like the post Share with your friends on social network.
Before Installing Maven make sure JDK is installed in machine and environment variable is set.
- Download the maven files (apache-maven-3.3.9-bin.zip) from https://maven.apache.org/download.cgi.
- Extract the zip folder and keep in C drive or D drive.
Setting up the environment variable for maven as we did for Java
- Go to my computer -- properties --Advanced system settings--create new System variables --M2_HOME.
- Variable value will be similar path like this up to bin folder - Copy path D:\Java Software\apache-maven-3.3.9\bin
- In System, variables edit the path entry and add %M2_HOME%\bin; in the path.
- Done
To verify the maven installation
No its time to start your first maven web application .Give you suggestion in comments.If you like the post Share with your friends on social network.
How to install MAVEN in Windows ?
Reviewed by JavaInstance
on
1:50:00 AM
Rating:
Reviewed by JavaInstance
on
1:50:00 AM
Rating:

No comments: