Create Java project with Maven archetype spring-webmvc-archetype-multimodule

Create a multi-module maven project for a native ready Spring REST API with webmvc, JPA, OpenID security and OpenAPI

Create a Java Project by archetype spring-webmvc-archetype-multimodule with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeVersion="My-archetypeVersion"   -Dpackage="My-package"   -Dapi-artifactId="My-api-artifactId"   -Dapi-path="My-api-path"   -Dspring-boot-version="My-spring-boot-version"   -Dc4-soft-springaddons-version="My-c4-soft-springaddons-version"   -Dlombok-mapstruct-binding-version="My-lombok-mapstruct-binding-version"   -Dmapstruct-version="My-mapstruct-version"   -Dspring-native-version="My-spring-native-version"   -Dspringdoc-openapi-version="My-springdoc-openapi-version"   -Dspringdoc-openapi-maven-plugin-version="My-springdoc-openapi-maven-plugin-version"   -Djwt-issuer-uri="My-jwt-issuer-uri"   -Dhibernate-enhance-maven-plugin-version="My-hibernate-enhance-maven-plugin-version"   -DarchetypeGroupId="com.c4-soft.springaddons"   -DarchetypeArtifactId="spring-webmvc-archetype-multimodule"   -DarchetypeVersion="4.4.8"   -DinteractiveMode=false 

Required parameters for generate java project:

archetypeVersion
validationRegex: none
package
validationRegex: [a-zA-Z][\w\.]+
api-artifactId
validationRegex: [a-zA-Z][\w\-]+
api-path
validationRegex: [a-zA-Z][\w\-\/]+
spring-boot-version
validationRegex: none
c4-soft-springaddons-version
validationRegex: none
lombok-mapstruct-binding-version
validationRegex: none
mapstruct-version
validationRegex: none
spring-native-version
validationRegex: none
springdoc-openapi-version
validationRegex: none
springdoc-openapi-maven-plugin-version
validationRegex: none
jwt-issuer-uri
validationRegex: none
hibernate-enhance-maven-plugin-version
validationRegex: none

Generated Project modules

  • dtos
  • exceptions
  • ${api-artifactId}

Details about maven archetype spring-webmvc-archetype-multimodule

License

License

GroupId

GroupId

com.c4-soft.springaddons
ArtifactId

ArtifactId

spring-webmvc-archetype-multimodule
Version

Version

4.4.8
Type

Type

maven-archetype
Description

Description

Create a multi-module maven project for a native ready Spring REST API with webmvc, JPA, OpenID security and OpenAPI

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.c4-soft.springaddons -DarchetypeArtifactId=spring-webmvc-archetype-multimodule -DarchetypeVersion=4.4.8 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.