You are on page 1of 1

10/17/2017 Maven Installation.

txt

Installation:
1.Download and Install Maven & Java from apche site
2.we need to set M2_HOME AND M2_HOME/BIN along with Java installation
3.Run mvn -v command to test your Maven is set correctly
4.Creation of Project

mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -


DgroupId=com.mycompany.app -DartifactId=my-app
5.Where you will need to Choose your Archetype COde (which will give your in command prompt) and
enter Version id(Archetype's version ID)
for both of these Entries you need to choose default values.
Now you can see Project structure in your System
6.Start running Maven Phases like Validate..compile test install deploy
All The best

https://docviewer.yandex.com/view/0/?*=mDifhilKQWZ5rKUbXf52TM%2FsGTp7InVybCI6InlhLWRpc2stcHVibGljOi8vOTcxRmcwQ2lmVG4yOXNMY2M 1/1

You might also like