Skip to content
This repository has been archived by the owner. It is now read-only.
A set of maven archetypes for scaffolding your GWT application.
HTML Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autoDeploy
gwt-simple-mojo-plugin
gwt-simple update poms and bump to 0.4 version Apr 28, 2018
spring-boot-gwt
.gitignore add simple archetypes, bump to version 0.4 Mar 30, 2018
.travis.yml
LICENSE
README.md
pom.xml update poms and bump to 0.4 version Apr 28, 2018

README.md

Build Status

Description

This project provides a set of archetypes for starting your GWT application.

Available archetypes

The available archetypes are:

  • gwt-simple: minimal ready to run gwt project with an empty entry point class. It makes use of the net.ltgt.gwt.maven maven plugin. To run dev mode: mvn gwt:devmode. More info on goals and configuration can be found on the plugin's documentation.
  • gwt-simple-mojo-plugin: same as gwt-simple except that it uses the org.codehaus.mojo plugin. To run dev mode: mvn package gwt:run. More info on goals and configuration can be found on the plugin's documentation.
  • spring-boot-gwt: This archetype is an integration of GWT into a spring boot application. There are two predefined profiles for running GWT dev mode and for running the application in production. To run the spring boot app with GWT in devmode you need to run the following commands: mvn spring-boot:run and in a different window mvn gwt:devmode -Pgwt-dev. If you don't need to you use GWT devmode and you need to run or package the application you can use the gwt-prod profile. For example: mvn package -Pgwt:prod. Spring Boot version: 1.5.2.RELEASE, GWT version: 2.8.0. This archetypes uses the net.ltgt.gwt.maven GWT plugin.

Usage

On Windows:

mvn archetype:generate -DarchetypeGroupId=com.gwidgets.maven                ^
  -DarchetypeArtifactId={artifactName}          ^
  -DarchetypeVersion=0.4                ^
  -DgroupId={yourGroupId}                               ^
  -DartifactId={yourArtifactID}                            ^
  -Dmodule={moduleName}                                  ^
  -Dversion={yourVersion}

On Linux/Mac Os:

mvn archetype:generate -DarchetypeGroupId=com.gwidgets.maven                \
  -DarchetypeArtifactId={artifactName}          \
  -DarchetypeVersion=0.4                \
  -DgroupId={yourGroupId}                                \
  -DartifactId={yourArtifactID}                             \
  -Dmodule={moduleName}                                   \
  -Dversion={yourVersion}
You can’t perform that action at this time.