How to create project with MAVEN

I. How to create project in MAVEN There are two ways for create project in MAVEN 1. Normal Java Project Step 1: cmd past below code to command prompt mvn archetype:generate -DgroupId=com.javacambodia -DartifactId=NumberGenerator -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false Note: DgroupId : name of your package (whatever you want) DartifactId : name of your project Press enter Step 2:…