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

This archetype creates a self-contained Vaadin Liferay portlet. It packages all Vaadin static resources (widgetset, theme etc.) and doesn't make use of portal-provided resources. Liferay-specific properties should be defined in a Maven profile and you should activate this profile when performing builds of a project based on this archetype. Please see https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/developing-plugins-using-maven-liferay-portal-6-2-dev-guide-02-en

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DvaadinVersion="My-vaadinVersion"   -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="7.3.5"   -DinteractiveMode=false 

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

vaadinVersion
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
Версия

Версия

7.3.5
Тип

Тип

maven-archetype

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

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