Create Java project with Maven archetype unity7-maven-archetype

Unity 7 Archetype allows to create a structure for the application project based on the platform. It includes multi-module Maven project, a module for handling configuration, and the Docker image module.

Create a Java Project by archetype unity7-maven-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DunityVersion="My-unityVersion"   -DarchetypeGroupId="com.intellective.archetypes"   -DarchetypeArtifactId="unity7-maven-archetype"   -DarchetypeVersion="1.0.2"   -DinteractiveMode=false 

Required parameters for generate java project:

unityVersion
validationRegex: none

Generated Project modules

  • custom-config
  • custom-i18n
  • custom-services
  • custom-webapp

Details about maven archetype unity7-maven-archetype

GroupId

GroupId

com.intellective.archetypes
ArtifactId

ArtifactId

unity7-maven-archetype
Version

Version

1.0.2
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.intellective.archetypes -DarchetypeArtifactId=unity7-maven-archetype -DarchetypeVersion=1.0.2 -DinteractiveMode=false