Create Java project with Maven archetype alfresco-allinone-archetype

Sample multi-module project for All-in-One development on the Alfresco plaftorm. Includes modules for Platform/Repository JAR and Share JAR

Create a Java Project by archetype alfresco-allinone-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dversion="My-version"   -DarchetypeGroupId="org.alfresco.maven.archetype"   -DarchetypeArtifactId="alfresco-allinone-archetype"   -DarchetypeVersion="3.0.0"   -DinteractiveMode=false 

Required parameters for generate java project:

version
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-platform-jar
  • ${rootArtifactId}-share-jar
  • integration-tests

Details about maven archetype alfresco-allinone-archetype

GroupId

GroupId

org.alfresco.maven.archetype
ArtifactId

ArtifactId

alfresco-allinone-archetype
Version

Version

3.0.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.alfresco.maven.archetype -DarchetypeArtifactId=alfresco-allinone-archetype -DarchetypeVersion=3.0.0 -DinteractiveMode=false