Fork me on GitHub

gwt:devmode

Full name:

net.ltgt.gwt.maven:gwt-maven-plugin:1.2.0:devmode

Description:

Runs GWT's DevMode.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator goal.
  • Requires dependency resolution of artifacts in scope: compile+runtime.
  • The goal is thread-safe and supports parallel builds.
  • Invokes the execution of the following lifecycle phase prior to executing itself: process-classes.

Required Parameters

Name Type Since Description
<classpathScope> String - The dependency scope to use for the classpath.

The scope should be one of the scopes defined by org.apache.maven.artifact.Artifact. This includes the following:

  • compile - system, provided, compile
  • runtime - compile, runtime
  • compile+runtime - system, provided, compile, runtime
  • runtime+system - system, compile, runtime
  • test - system, provided, compile, runtime, test

Default: runtime
<devmodeWorkDir> File - The compiler work directory (must be writeable).
Default: ${project.build.directory}/gwt/devmode/work
<warDir> File - Directory into which deployable output files will be written.
Default: ${project.build.directory}/gwt/devmode/war

Optional Parameters

Name Type Since Description
<devmodeArgs> List<String> - Additional arguments to be passed to the GWT compiler.
<failOnError> Boolean - Only succeed if no input files have errors.
User Property: gwt.failOnError
<jdkToolchain> Map<String,String> - Requirements for this jdk toolchain, if jvm is not set.

This overrides the toolchain selected by the maven-toolchains-plugin.

<jvm> String - Path to the Java executable to use. By default, will use the configured toolchain, or fallback to the same JVM as the one used to run Maven.
<jvmArgs> List<String> - Arguments to be passed to the forked JVM (e.g. -Xmx)
<logLevel> String - Sets the level of logging detail.
User Property: gwt.logLevel
<modules> String - Comma-delimited list of the modules to run.

Defaults to the discovered module names from gwt-app projects.


User Property: gwt.modules
<projects> String - Comma-delimited list of the reactor projects to run.

Defaults to all the gwt-app projects in the reactor.


User Property: gwt.projects
<sourceLevel> String - Specifies Java source level.
User Property: maven.compiler.source
<startupUrls> List<String> - Automatically launches the specified URLs.
<style> String - Script output style: OBFUSCATED, PRETTY, or DETAILED.
User Property: gwt.style
<systemProperties> Map<String,String> - List of system properties to pass to the GWT compiler.

Parameter Details

<classpathScope>

The dependency scope to use for the classpath.

The scope should be one of the scopes defined by org.apache.maven.artifact.Artifact. This includes the following:

  • compile - system, provided, compile
  • runtime - compile, runtime
  • compile+runtime - system, provided, compile, runtime
  • runtime+system - system, compile, runtime
  • test - system, provided, compile, runtime, test
  • Type: java.lang.String
  • Required: Yes
  • Default: runtime

<devmodeArgs>

Additional arguments to be passed to the GWT compiler.
  • Type: java.util.List<java.lang.String>
  • Required: No

<devmodeWorkDir>

The compiler work directory (must be writeable).
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/gwt/devmode/work

<failOnError>

Only succeed if no input files have errors.
  • Type: java.lang.Boolean
  • Required: No
  • User Property: gwt.failOnError

<jdkToolchain>

Requirements for this jdk toolchain, if jvm is not set.

This overrides the toolchain selected by the maven-toolchains-plugin.

  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: No

<jvm>

Path to the Java executable to use. By default, will use the configured toolchain, or fallback to the same JVM as the one used to run Maven.
  • Type: java.lang.String
  • Required: No

<jvmArgs>

Arguments to be passed to the forked JVM (e.g. -Xmx)
  • Type: java.util.List<java.lang.String>
  • Required: No

<logLevel>

Sets the level of logging detail.
  • Type: java.lang.String
  • Required: No
  • User Property: gwt.logLevel

<modules>

Comma-delimited list of the modules to run.

Defaults to the discovered module names from gwt-app projects.

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.modules

<projects>

Comma-delimited list of the reactor projects to run.

Defaults to all the gwt-app projects in the reactor.

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.projects

<sourceLevel>

Specifies Java source level.
  • Type: java.lang.String
  • Required: No
  • User Property: maven.compiler.source

<startupUrls>

Automatically launches the specified URLs.
  • Type: java.util.List<java.lang.String>
  • Required: No

<style>

Script output style: OBFUSCATED, PRETTY, or DETAILED.
  • Type: java.lang.String
  • Required: No
  • User Property: gwt.style

<systemProperties>

List of system properties to pass to the GWT compiler.
  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: No

<warDir>

Directory into which deployable output files will be written.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/gwt/devmode/war