Create Java project with Maven archetype vaadin-archetype-application-example

This archetype generates a sample Vaadin application as a multi-module Maven project.

Create a Java Project by archetype vaadin-archetype-application-example with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DuiName="My-uiName"   -DwidgetsetName="My-widgetsetName"   -DthemeName="My-themeName"   -DarchetypeGroupId="com.vaadin"   -DarchetypeArtifactId="vaadin-archetype-application-example"   -DarchetypeVersion="7.5.5"   -DinteractiveMode=false 

Required parameters for generate java project:

uiName
validationRegex: none
widgetsetName
validationRegex: none
themeName
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-widgetset
  • ${rootArtifactId}-backend
  • ${rootArtifactId}-ui
  • ${rootArtifactId}-production

Details about maven archetype vaadin-archetype-application-example

GroupId

GroupId

com.vaadin
ArtifactId

ArtifactId

vaadin-archetype-application-example
Version

Version

7.5.5
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-application-example -DarchetypeVersion=7.5.5 -DinteractiveMode=false