Fork me on GitHub

gwt:devmode

Full name:

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

Description:

Runs GWT's DevMode.

Attributes:

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

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

Optional Parameters

Name Type Since Description
<devmodeArgs> List - Additional arguments to be passed to the GWT compiler.
<failOnError> Boolean - Only succeed if no input files have errors.
User property is: gwt.failOnError.
<jdkToolchain> Map - 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 - Arguments to be passed to the forked JVM (e.g. -Xmx)
<logLevel> String - Sets the level of logging detail.
User property is: gwt.logLevel.
<modules> String - Comma-delimited list of the modules to run.

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


User property is: 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 is: gwt.projects.
<sourceLevel> String - Specifies Java source level.
User property is: maven.compiler.source.
<startupUrls> List - Automatically launches the specified URLs.
<style> String - Script output style: OBFUSCATED, PRETTY, or DETAILED.
User property is: gwt.style.
<systemProperties> Map - 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
  • 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
  • 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
  • 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
  • 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
  • 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