Create Java project with Maven archetype worker-archetype


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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DworkerName="My-workerName"   -DartifactId="My-artifactId"   -DarchetypeGroupId="com.github.workerframework"   -DarchetypeArtifactId="worker-archetype"   -DarchetypeVersion="3.4.0-758"   -DinteractiveMode=false 

Required parameters for generate java project:

workerName
validationRegex: none
artifactId
validationRegex: none

Generated Project modules

  • ${rootArtifactId}
  • ${rootArtifactId}-shared
  • ${rootArtifactId}-container
  • ${rootArtifactId}-testing

Details about maven archetype worker-archetype

GroupId

GroupId

com.github.workerframework
ArtifactId

ArtifactId

worker-archetype
Version

Version

3.4.0-758
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.github.workerframework -DarchetypeArtifactId=worker-archetype -DarchetypeVersion=3.4.0-758 -DinteractiveMode=false