Docs

Documentation versions (currently viewingVaadin 8)

Vaadin 8 reached End of Life on February 21, 2022. Discover how to make your Vaadin 8 app futureproof →

Overview of Maven Archetypes

Vaadin currently offers the following Maven archetypes for different kinds of projects:

vaadin-archetype-application

This is a single-module project for simple applications. It is good for quick demos and trying out Vaadin Framework. It is also useful when you are experienced with the framework and want to build all the aspects of the application yourself.

vaadin-archetype-application-multimodule

A complete Vaadin Framework application development setup. It features separate production and development profiles.

vaadin-archetype-application-example

An example CRUD web application using multi-module project setup.

vaadin-archetype-widget

A multi-module project for a new Vaadin Framework add-on. It has two modules: one for the add-on and another for a demo application.

vaadin-archetype-liferay-portlet

A portlet development setup for the open-source Liferay portal.

All archetype versions follow the framework version numbers (like 8.3.3) and use the groupId com.vaadin. For example to generate a new application project in batch mode using version:

mvn -B archetype:generate \
		-DarchetypeGroupId=com.vaadin \
		-DarchetypeArtifactId=vaadin-archetype-application \
		-DarchetypeVersion=8.3.3 \
		-DgroupId=org.test \
		-DartifactId=vaadin-app \
		-Dversion=1.0-SNAPSHOT