Fork me on GitHub



This project provides a set of archetypes for starting your GWT application. Starting a project from scratch is often a hassle, so the objective of this project is to help GWT developers getting started quickly by providing them with ready to use applications structure. There are currently 4 available archetypes. All archetypes make use of Maven GWT Plugin as a build tool.


  • GWT 2.8.0
  • JDK 1.8

Available archetypes

Archetype Description Dependencies
gwt-polymer-starter A polymer based UI inspired from the Polymer Starter Kit. This archetype uses Vaadin's gwt-polymer-elements. It also uses GWT Activities and Places to handle routing and section change.This archetype generates the client side only.
  • GWT 2.8.0
  • vaadin-gwt-polymer-elements
gwt-polymer-starter-dagger-di The same archetype as the gwt-polymer-starter. The difference between the two is that this archetype introduces dependency injection using Dagger .
  • GWT 2.8.0
  • vaadin-gwt-polymer-elements
  • javax.inject version 1
  • dagger-gwt 2.5
  • dagget-compiler 2.5
gwt-polymer-nav-list-detail This archetype defines a navigation layout with a main side paper menu and sub menus. The layout is responsive, so both the main menu and the sub menu adapt to screen size. This archetype is inspired from Polymer layouts: http://polymerelements.github.io/app-layout-templates/index.html
  • GWT 2.8.0
  • vaadin-gwt-polymer-elements
progressive-web-app This archetype defines a progressive web application structure with: an app shell for fast painting, service workers for offline usage, and a manifest file for installation to home screen. It uses some Polymer elements like paper-toolbar, and iron-pages. Because the names of the xxx.cache.js files are not known prior to compilation, they need to be added to the sw.js after compiling to allow full availability of the application offline.
  • GWT 2.8.0
  • vaadin-gwt-polymer-elements
spring-security-gwt This archetype is based on the example provided in our blog post on how to secure a GWT application using Spring Security. It is a multi module application with a client module, which is the GWT application, and a server module which provides authorization and authentication for accessing the application. The project makes use of the Jetty maven plugin as well as the new GWT maven plugin.
  • GWT 2.8.0
  • Spring Security: 4.2.0.RELEASE
  • Spring Web: 4.3.4.RELEASE
  • vaadin-gwt-polymer-elements
  • Java Servlet 3.1.0


On windows:
mvn archetype:generate -DarchetypeGroupId=com.gwidgets.maven                ^
  -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ ^
  -DarchetypeArtifactId={artifactName}          ^
  -DarchetypeVersion=0.2-SNAPSHOT                ^
  -DgroupId={yourGroupId}                               ^
  -DartifactId={yourArtifactID}                            ^
  -Dmodule={moduleName}                                  ^

On Linux/MacOs:
   mvn archetype:generate -DarchetypeGroupId=com.gwidgets.maven                \
  -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \
  -DarchetypeArtifactId={artifactName}          \
  -DarchetypeVersion=0.2-SNAPSHOT                \
  -DgroupId={yourGroupId}                                \
  -DartifactId={yourArtifactID}                             \
  -Dmodule={moduleName}                                   \