Create Java project with Maven archetype parent-archetype

This archetype package creates a new Maven project consisting of nothing more than a pom.xml file referencing the parent POM project

Create a Java Project by archetype parent-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="de.lars-sh"   -DarchetypeArtifactId="parent-archetype"   -DarchetypeVersion="0.9.11"   -DinteractiveMode=false 

Details about maven archetype parent-archetype

GroupId

GroupId

de.lars-sh
ArtifactId

ArtifactId

parent-archetype
Version

Version

0.9.11
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=de.lars-sh -DarchetypeArtifactId=parent-archetype -DarchetypeVersion=0.9.11 -DinteractiveMode=false