gwt-archetypes

A set of maven archetypes for scaffolding GWT apps

License

License

Categories

Categories

Maven Build Tools GWT (Google Web Toolkit) User Interface Web Frameworks
GroupId

GroupId

com.gwidgets.maven
ArtifactId

ArtifactId

gwt-archetypes
Last Version

Last Version

0.4
Release Date

Release Date

Type

Type

pom
Description

Description

gwt-archetypes
A set of maven archetypes for scaffolding GWT apps
Project URL

Project URL

https://github.com/gwidgets/gwt-archetypes
Project Organization

Project Organization

G-Widgets
Source Code Management

Source Code Management

https://github.com/gwidgets/gwt-archetypes.git

Download gwt-archetypes

Filename Size
gwt-archetypes-0.4.pom 2 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.gwidgets.maven/gwt-archetypes/ -->
<dependency>
    <groupId>com.gwidgets.maven</groupId>
    <artifactId>gwt-archetypes</artifactId>
    <version>0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.gwidgets.maven/gwt-archetypes/
implementation 'com.gwidgets.maven:gwt-archetypes:0.4'
// https://jarcasting.com/artifacts/com.gwidgets.maven/gwt-archetypes/
implementation ("com.gwidgets.maven:gwt-archetypes:0.4")
'com.gwidgets.maven:gwt-archetypes:pom:0.4'
<dependency org="com.gwidgets.maven" name="gwt-archetypes" rev="0.4">
  <artifact name="gwt-archetypes" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.gwidgets.maven', module='gwt-archetypes', version='0.4')
)
libraryDependencies += "com.gwidgets.maven" % "gwt-archetypes" % "0.4"
[com.gwidgets.maven/gwt-archetypes "0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • spring-boot-gwt
  • gwt-simple-mojo-plugin
  • gwt-simple

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}
com.gwidgets.maven

G-Widgets

Versions

Version
0.4