Create Java project with Maven archetype dropwizard_archetype

Archetype for setting up a DropWizard codegen project.

Create a Java Project by archetype dropwizard_archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DhttpPort="My-httpPort"   -DarchetypeGroupId="com.thesett.archetype"   -DarchetypeArtifactId="dropwizard_archetype"   -DarchetypeVersion="0.9.84"   -DinteractiveMode=false 

Required parameters for generate java project:

httpPort
validationRegex: none

Generated Project modules

  • ${rootArtifactId}_jenerator
  • ${rootArtifactId}_data_access_api
  • ${rootArtifactId}_data_access_hibernate
  • ${rootArtifactId}_service_api
  • ${rootArtifactId}_service_impl
  • ${rootArtifactId}_top
  • ${rootArtifactId}_client_impl

Details about maven archetype dropwizard_archetype

GroupId

GroupId

com.thesett.archetype
ArtifactId

ArtifactId

dropwizard_archetype
Version

Version

0.9.84
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.thesett.archetype -DarchetypeArtifactId=dropwizard_archetype -DarchetypeVersion=0.9.84 -DinteractiveMode=false