Create Java project with Maven archetype project-archetype

TheseFoolishThings - Project Archetype

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DprojectName="My-projectName"   -DorganizationName="My-organizationName"   -DorganizationUrl="My-organizationUrl"   -DforgeName="My-forgeName"   -DarchetypeGroupId="it.tidalwave.thesefoolishthings"   -DarchetypeArtifactId="project-archetype"   -DarchetypeVersion="1.0.20"   -DinteractiveMode=false 

Required parameters for generate java project:

projectName
validationRegex: none
organizationName
validationRegex: none
organizationUrl
validationRegex: none
forgeName
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-modules

Details about maven archetype project-archetype

GroupId

GroupId

it.tidalwave.thesefoolishthings
ArtifactId

ArtifactId

project-archetype
Version

Version

1.0.20
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=it.tidalwave.thesefoolishthings -DarchetypeArtifactId=project-archetype -DarchetypeVersion=1.0.20 -DinteractiveMode=false