Создать 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" -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-2" -DinteractiveMode=false
Обязательные параметры для создания java проекта:
- version
-
validationRegex: нет
- alfresco_target_groupId
-
validationRegex: нет
- alfresco_target_version
-
validationRegex: нет
- package
-
validationRegex: нет
Модули в готовом maven проекте
- repo-amp
- share-amp
- repo
- solr
- share
- runner
Подробная информация об архетипе alfresco-allinone-archetype
| Группа |
Группаorg.alfresco.maven.archetype |
| Идентификатор |
Идентификаторalfresco-allinone-archetype |
| Версия |
Версия2.0.0-beta-2 |
| Тип |
Типmaven-archetype |
Как подключить последнюю версию