Create Java project with Maven archetype openapi-springboot-archetype

OpenAPI And SpringBoot Bootstrap Archetype

Create a Java Project by archetype openapi-springboot-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dopenapi_app_contract_uri="My-openapi_app_contract_uri"   -DarchetypeGroupId="com.redhat.consulting"   -DarchetypeArtifactId="openapi-springboot-archetype"   -DarchetypeVersion="1.0.1"   -DinteractiveMode=false 

Required parameters for generate java project:

openapi_app_contract_uri
validationRegex: none

Details about maven archetype openapi-springboot-archetype

GroupId

GroupId

com.redhat.consulting
ArtifactId

ArtifactId

openapi-springboot-archetype
Version

Version

1.0.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.redhat.consulting -DarchetypeArtifactId=openapi-springboot-archetype -DarchetypeVersion=1.0.1 -DinteractiveMode=false