Create Java project with Maven archetype flexio-services-archetype


Create a Java Project by archetype flexio-services-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DapiNameCamelCase="My-apiNameCamelCase"   -DapiNameTiret="My-apiNameTiret"   -DarchetypeGroupId="io.flexio.commons"   -DarchetypeArtifactId="flexio-services-archetype"   -DarchetypeVersion="1.1.0"   -DinteractiveMode=false 

Required parameters for generate java project:

apiNameCamelCase
validationRegex: ([a-zA-Z]+)
apiNameTiret
validationRegex: ([a-zA-Z-]+)

Generated Project modules

  • ${rootArtifactId}-api
  • ${rootArtifactId}-api-spec
  • ${rootArtifactId}-service
  • ${rootArtifactId}-client

Details about maven archetype flexio-services-archetype

GroupId

GroupId

io.flexio.commons
ArtifactId

ArtifactId

flexio-services-archetype
Version

Version

1.1.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.flexio.commons -DarchetypeArtifactId=flexio-services-archetype -DarchetypeVersion=1.1.0 -DinteractiveMode=false