Create a Maven Project using command prompt

In this tutorial we will learn to create a maven project using command promptĀ  Prerequisites Java installed If not Refer: https://beginnersbug.com/how-to-install-java-in-windows/ JAVA_HOME : If not refer : https://beginnersbug.com/how-to-set-java-home-in-windows/ M2_HOME If not refer : https://beginnersbug.com/set-maven-home-in-windows/ Syntax mvn archetype:generate -DgroupId= -DartifactId= -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false Sample mvn archetype:generate -DgroupId=com.beginnergsbug -DartifactId=sample-project -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false Output C:\Users\USHA RAJESH\Desktop\sample>mvn archetype:generate -DgroupId=com.beginnergsbug -DartifactId=sample-project -DarchetypeArtifactId=maven-archetype-quickstart … Continue reading Create a Maven Project using command prompt