- <groupId>org.codehaus.mojo</groupId>
- <artifactId>gwt-maven-plugin</artifactId>
- <version>${gwtmaven}</version>
- <configuration>
- <logLevel>${gwt.loglevel}</logLevel>
- <style>${gwt.outputstyle}</style>
- <gwtVersion>${gwtversion}</gwtVersion>
- <compileReport>true</compileReport>
- <runTarget>${projectName}/${projectName}.html</runTarget>
- <hostedWebApp>${project.build.directory}/${project.build.finalName}</hostedWebApp>
- </configuration>
- <executions>
- <execution>
- <phase>prepare-package</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.8.1</version>
- <configuration>
- <additionalClasspathElements>
- <additionalClasspathElement>\${project.build.sourceDirectory}</additionalClasspathElement>
- <additionalClasspathElement>\${project.build.testSourceDirectory}</additionalClasspathElement>
- </additionalClasspathElements>
- <useManifestOnlyJar>false</useManifestOnlyJar>
- <forkMode>always</forkMode>
- <systemProperties>
- <property>
- <name>gwt.args</name>
- <value>-out target/gwt-tests</value>
- </property>
- <property>
- <!-- Setting this to true (default) causes a exception first time test are run Gwt issue_6443 -->
- <name>gwt.persistentunitcache</name>
- <value>false</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.7</version>