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

Required parameters for generate java project:

alfrescoVersion
validationRegex: none
projectDescription
validationRegex: none

Details about maven archetype repo-archetype

License

License

GroupId

GroupId

com.atolcd.alfresco
ArtifactId

ArtifactId

repo-archetype
Version

Version

1.1.9
Type

Type

maven-archetype
Description

Description

repo-archetype
Alfresco repository module 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.9 -DinteractiveMode=false

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.maven.shared : file-management jar 3.0.0

test (1)

Group / Artifact Type Version
org.alfresco.enterprise » alfresco-repository jar 4.1.4

Project Modules

There are no modules declared in this project.