Create Java project with Maven archetype repo-archetype

Alfresco repository module archetype

Create a Java Project by archetype repo-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DalfrescoVersion="My-alfrescoVersion"   -DprojectDescription="My-projectDescription"   -DarchetypeGroupId="com.atolcd.alfresco"   -DarchetypeArtifactId="repo-archetype"   -DarchetypeVersion="1.1.0"   -DinteractiveMode=false 

Required parameters for generate java project:

alfrescoVersion
validationRegex: none
projectDescription
validationRegex: none

Details about maven archetype repo-archetype

GroupId

GroupId

com.atolcd.alfresco
ArtifactId

ArtifactId

repo-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=com.atolcd.alfresco -DarchetypeArtifactId=repo-archetype -DarchetypeVersion=1.1.0 -DinteractiveMode=false