Create Java project with Maven archetype archetype-quickstart-jdk8

A Maven archetype for a simple Java app, updated for Java 8

Create a Java Project by archetype archetype-quickstart-jdk8 with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="com.github.ngeor"   -DarchetypeArtifactId="archetype-quickstart-jdk8"   -DarchetypeVersion="2.4.0"   -DinteractiveMode=false 

Details about maven archetype archetype-quickstart-jdk8

GroupId

GroupId

com.github.ngeor
ArtifactId

ArtifactId

archetype-quickstart-jdk8
Version

Version

2.4.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.ngeor -DarchetypeArtifactId=archetype-quickstart-jdk8 -DarchetypeVersion=2.4.0 -DinteractiveMode=false