Создать Java проект на основе Maven архетипа vaadin-archetype-liferay-portlet

This archetype generates a Liferay portlet plugin project that relies on the Vaadin bundles being installed on the portal server. The result of the maven build is an OSGi bundle that can be installed on a Liferay 7+ server. The Vaadin integration handles the registration of the annotated UI as a Portlet.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DliferayKernelVersion="My-liferayKernelVersion"   -DuiClassName="My-uiClassName"   -Dtheme="My-theme"   -DportletTitle="My-portletTitle"   -DportletShortTitle="My-portletShortTitle"   -DportletKeywords="My-portletKeywords"   -DportletDescription="My-portletDescription"   -DportletName="My-portletName"   -DportletDisplayName="My-portletDisplayName"   -DliferayCategoryName="My-liferayCategoryName"   -DarchetypeGroupId="com.vaadin"   -DarchetypeArtifactId="vaadin-archetype-liferay-portlet"   -DarchetypeVersion="8.7.0.beta1"   -DinteractiveMode=false 

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

liferayKernelVersion
validationRegex: нет
uiClassName
validationRegex: нет
theme
validationRegex: нет
portletTitle
validationRegex: нет
portletShortTitle
validationRegex: нет
portletKeywords
validationRegex: нет
portletDescription
validationRegex: нет
portletName
validationRegex: нет
portletDisplayName
validationRegex: нет
liferayCategoryName
validationRegex: нет

Подробная информация об архетипе vaadin-archetype-liferay-portlet

Группа

Группа

com.vaadin
Идентификатор

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

vaadin-archetype-liferay-portlet
Версия

Версия

8.7.0.beta1
Тип

Тип

maven-archetype

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

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-liferay-portlet -DarchetypeVersion=8.7.0.beta1 -DinteractiveMode=false