-
First, download Maven and follow the installation instructions and verify your installation
mvn --version -
Invoke the maven quickstart archetype to generate your new project.
mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false -
Start VS Code with the new project
code ./my-app