Assumes that your Java, Maven, and eclipse are set up as per: Setting up Java, Maven, and eclipse
Step 1: Create a simple maven project using the maven “archetype” plugin.
1 2 |
mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple-spring-boot -DinteractiveMode=false |
The above command creates a folder “simple-spring-boot”
Step 2: import it into eclipse by choosing File –> Import –> Maven –> Existing Maven projects and select the folder “simple-spring-boot” you had just created with Maven.…