25.5. GWT Maven plugin

For a deployment of GWT apps, there is a set of maven GWT goals which does everything what GWT supports. The maven-gwt-plugin usage is in more details at GWT .
Basic set up is for instance here:
 
<build>
	<plugins>
		[...]
		<plugin>
			<groupId>org.codehaus.mojo</groupId>
			<artifactId>gwt-maven-plugin</artifactId>
			<version>1.2</version>
			<!-- version 1.2 allows us to specify gwt version by gwt-user dependency -->
			<configuration>
				<generateDirectory>${project.build.outoutDirectory}/${project.build.finalName}</generateDirectory>
				<inplace>false</inplace>
				<logLevel>TRACE</logLevel>
				<extraJvmArgs>-Xmx512m -DDEBUG</extraJvmArgs>
				<soyc>false</soyc>
			</configuration>
			<executions>
				<execution>
					<goals>
						<goal>resources</goal>
						<goal>compile</goal>
					</goals>
				</execution>
			</executions>
		</plugin>
		[...]
	</plugins>
	[...]
</build>