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: Repository WAR overlay, Repository AMP, Share WAR overlay, Solr configuration, and embedded Tomcat runner
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" -Dalfresco_target_groupId="My-alfresco_target_groupId" -Dalfresco_target_version="My-alfresco_target_version" -Dpackage="My-package" -DarchetypeGroupId="org.alfresco.maven.archetype" -DarchetypeArtifactId="alfresco-allinone-archetype" -DarchetypeVersion="2.0.0-beta-3" -DinteractiveMode=false
Required parameters for generate java project:
- version
-
validationRegex: none
- alfresco_target_groupId
-
validationRegex: none
- alfresco_target_version
-
validationRegex: none
- package
-
validationRegex: none
Generated Project modules
- repo-amp
- share-amp
- repo
- solr
- share
- runner
Details about maven archetype alfresco-allinone-archetype
GroupId |
GroupIdorg.alfresco.maven.archetype |
ArtifactId |
ArtifactIdalfresco-allinone-archetype |
Version |
Version2.0.0-beta-3 |
Type |
Typemaven-archetype |
How to add to project