Create Java project with Maven archetype flexio-services-archetype

Common OSS code

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.8.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

License

License

GroupId

GroupId

io.flexio.commons
ArtifactId

ArtifactId

flexio-services-archetype
Version

Version

1.8.0
Type

Type

maven-archetype
Description

Description

io.flexio.commons:flexio-services-archetype
Common OSS code

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.8.0 -DinteractiveMode=false

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.velocity : velocity jar 1.7
org.slf4j : slf4j-api jar

test (5)

Group / Artifact Type Version
ch.qos.logback : logback-core jar
ch.qos.logback : logback-classic jar
junit : junit jar
org.hamcrest : hamcrest-all jar
org.hamcrest : hamcrest-core jar

Project Modules

There are no modules declared in this project.