Создать Java проект на основе Maven архетипа 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

Консольная команда для создания Java-проекта на основе архетипа alfresco-allinone-archetype:

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

Обязательные параметры для создания java проекта:

version
validationRegex: нет

Модули в готовом maven проекте

  • repo-amp
  • share-amp
  • repo
  • solr4
  • share
  • runner

Подробная информация об архетипе alfresco-allinone-archetype

Группа

Группа

org.alfresco.maven.archetype
Идентификатор

Идентификатор

alfresco-allinone-archetype
Версия

Версия

2.1.1
Тип

Тип

maven-archetype

Как подключить последнюю версию

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