Create Java project with Maven archetype kr-archetype


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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DkrPrototypeGroupId="My-krPrototypeGroupId"   -DkrPrototypeArtifactId="My-krPrototypeArtifactId"   -DkrPrototypeVersion="My-krPrototypeVersion"   -DarchetypeGroupId="org.kualigan.maven.archetypes"   -DarchetypeArtifactId="kr-archetype"   -DarchetypeVersion="1.1.17"   -DinteractiveMode=false 

Required parameters for generate java project:

krPrototypeGroupId
validationRegex: none
krPrototypeArtifactId
validationRegex: none
krPrototypeVersion
validationRegex: none

Generated Project modules

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

Details about maven archetype kr-archetype

GroupId

GroupId

org.kualigan.maven.archetypes
ArtifactId

ArtifactId

kr-archetype
Version

Version

1.1.17
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=kr-archetype -DarchetypeVersion=1.1.17 -DinteractiveMode=false