Create Java project with Maven archetype 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
Create a Java Project by archetype vaadin-archetype-liferay-portlet with Command Line:
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.4" -DinteractiveMode=false
Required parameters for generate java project:
- vaadinVersion
-
validationRegex: none
- uiClassName
-
validationRegex: none
- theme
-
validationRegex: none
- portletTitle
-
validationRegex: none
- portletShortTitle
-
validationRegex: none
- portletKeywords
-
validationRegex: none
- portletDescription
-
validationRegex: none
- portletName
-
validationRegex: none
- portletDisplayName
-
validationRegex: none
- liferayCategoryName
-
validationRegex: none
Details about maven archetype vaadin-archetype-liferay-portlet
GroupId |
GroupIdcom.vaadin |
ArtifactId |
ArtifactIdvaadin-archetype-liferay-portlet |
Version |
Version7.3.4 |
Type |
Typemaven-archetype |
How to add to project