Fork me on GitHub

gwt:codeserver

Full name:

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

Description:

Runs GWT's CodeServer (SuperDevMode).

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.
<codeserverWorkDir> File - The compiler work directory (must be writeable).
Default value is: ${project.build.directory}/gwt/codeserver.

Optional Parameters

Name Type Since Description
<codeserverArgs> 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)
<launcherDir> File - Directory where files for launching SuperDevMode (e.g. *.nocache.js) will be written. (Optional.)
User property is: launcherDir.
<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.
<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

<codeserverArgs>

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

<codeserverWorkDir>

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

<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

<launcherDir>

Directory where files for launching SuperDevMode (e.g. *.nocache.js) will be written. (Optional.)
  • Type: java.io.File
  • Required: No
  • User Property: launcherDir

<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

<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