gwt:test

Goal which compiles a GWT project.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: test
  • Automatically executes within the lifecycle phase: test

Required Parameters

Name Type Description
homePage String The name of the home page.
moduleName String The name of the GWT module.
outputDirectory File Location to place the web content.
sourceDirectory File Location of the source files.
testClass String The GWT test suite class.
testsourceDirectory File Location of the source files.

Optional Parameters

Name Type Description
gwtDirectory File The GWT installation directory.
pathelements String[] Additional class path elements to add.
properties Map System properties to set on the command line.

Parameter Details

gwtDirectory The GWT installation directory.
  • Type: java.io.File
  • Required: No
  • Expression: ${gwt.home}

homePage The name of the home page.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${gwt.homePage}

moduleName The name of the GWT module.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${gwt.moduleName}

outputDirectory Location to place the web content.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}

pathelements Additional class path elements to add.
  • Type: java.lang.String[]
  • Required: No

properties System properties to set on the command line.
  • Type: java.util.Map
  • Required: No

sourceDirectory Location of the source files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.sourceDirectory}

testClass The GWT test suite class.
  • Type: java.lang.String
  • Required: Yes

testsourceDirectory Location of the source files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.testSourceDirectory}