Создать Java проект на основе Maven архетипа vaadin-archetype-liferay-portlet
This archetype generates a self-contained Vaadin 7 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" -DliferayVersion="My-liferayVersion" -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.7.7" -DinteractiveMode=false
Обязательные параметры для создания java проекта:
- liferayVersion
-
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.7.7 |
| Тип |
Типmaven-archetype |
Как подключить последнюю версию