Create Java project with Maven archetype vaadin-archetype-liferay-shared

This archetype creates a Vaadin Portlet shared static resource bundle WAR deployed into Liferay 7.3+ container and used by Vaadin Portlets also deployed in the same container.

Create a Java Project by archetype vaadin-archetype-liferay-shared with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DvaadinPortletVersion="My-vaadinPortletVersion"   -Dtheme="My-theme"   -DarchetypeGroupId="com.vaadin"   -DarchetypeArtifactId="vaadin-archetype-liferay-shared"   -DarchetypeVersion="14.8.11"   -DinteractiveMode=false 

Required parameters for generate java project:

vaadinPortletVersion
validationRegex: none
theme
validationRegex: none

Details about maven archetype vaadin-archetype-liferay-shared

GroupId

GroupId

com.vaadin
ArtifactId

ArtifactId

vaadin-archetype-liferay-shared
Version

Version

14.8.11
Type

Type

maven-archetype

How to add to project

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