Create Java project with Maven archetype kc-archetype


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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DkcPrototypeGroupId="My-kcPrototypeGroupId"   -DkcPrototypeArtifactId="My-kcPrototypeArtifactId"   -DkcPrototypeVersion="My-kcPrototypeVersion"   -DarchetypeGroupId="org.kualigan.maven.archetypes"   -DarchetypeArtifactId="kc-archetype"   -DarchetypeVersion="1.1.11"   -DinteractiveMode=false 

Required parameters for generate java project:

kcPrototypeGroupId
validationRegex: none
kcPrototypeArtifactId
validationRegex: none
kcPrototypeVersion
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-it
  • ${rootArtifactId}-config
  • ${rootArtifactId}-core
  • ${rootArtifactId}-web

Details about maven archetype kc-archetype

GroupId

GroupId

org.kualigan.maven.archetypes
ArtifactId

ArtifactId

kc-archetype
Version

Version

1.1.11
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.kualigan.maven.archetypes -DarchetypeArtifactId=kc-archetype -DarchetypeVersion=1.1.11 -DinteractiveMode=false