Create Java project with Maven archetype k2-archetype-application

K2 simplifies structuring a java application around modules.

Create a Java Project by archetype k2-archetype-application with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dpackage="My-package"   -DclassPrefix="My-classPrefix"   -Dk2Version="My-k2Version"   -DarchetypeGroupId="com.github.katari"   -DarchetypeArtifactId="k2-archetype-application"   -DarchetypeVersion="0.1.11"   -DinteractiveMode=false 

Required parameters for generate java project:

package
validationRegex: none
classPrefix
validationRegex: none
k2Version
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-app
  • ${rootArtifactId}

Details about maven archetype k2-archetype-application

License

License

GroupId

GroupId

com.github.katari
ArtifactId

ArtifactId

k2-archetype-application
Version

Version

0.1.11
Type

Type

maven-archetype
Description

Description

K2 application archetype
K2 simplifies structuring a java application around modules.

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.katari -DarchetypeArtifactId=k2-archetype-application -DarchetypeVersion=0.1.11 -DinteractiveMode=false

Dependencies

test (3)

Group / Artifact Type Version
com.github.katari : k2-core jar 0.1.11
com.github.katari : k2-swagger jar 0.1.11
org.jacoco : org.jacoco.agent jar 0.7.8

Project Modules

There are no modules declared in this project.