Home

Awesome

gwt-maven-plugin

This plugin aims at making it easier to build GWT projects with Maven, by providing two specific packagings: gwt-lib and gwt-app.

Basic usage

  1. Add the plugin to your POM and enable extensions:

    <plugin>
      <groupId>net.ltgt.gwt.maven</groupId>
      <artifactId>gwt-maven-plugin</artifactId>
      <version>…</version>
      <extensions>true</extensions>
    </plugin>
    
  2. configure your module name in the plugin:

    <configuration>
      <moduleName>com.example.app.App</moduleName>
    </configuration>
    
  3. set your <packaging> to either gwt-lib or gwt-app

  4. Manage your module in a src/main/module.gwt.xml file.

Features

Documentation

The plugin documentation is published at https://tbroyer.github.io/gwt-maven-plugin/

You can also look at the integration tests, particularly gwt-lib, gwt-app, and e2e.