Create Java project with Maven archetype lifecycle-maven-plugin-archetype

Archetype for an example of custom Maven plugin overriding default lifecycle

Create a Java Project by archetype lifecycle-maven-plugin-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="com.github.carlosvin.archetype"   -DarchetypeArtifactId="lifecycle-maven-plugin-archetype"   -DarchetypeVersion="0.0.5"   -DinteractiveMode=false 

Details about maven archetype lifecycle-maven-plugin-archetype

GroupId

GroupId

com.github.carlosvin.archetype
ArtifactId

ArtifactId

lifecycle-maven-plugin-archetype
Version

Version

0.0.5
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.carlosvin.archetype -DarchetypeArtifactId=lifecycle-maven-plugin-archetype -DarchetypeVersion=0.0.5 -DinteractiveMode=false