<maven.compiler.source>1.5</maven.compiler.source>\r
<maven.compiler.target>1.5</maven.compiler.target>\r
<gQueryVersion>1.0.0-SNAPSHOT</gQueryVersion>\r
- <gwtversion>2.0.3</gwtversion>\r
+ <gwtversion>2.0.4</gwtversion>\r
</properties>\r
\r
<repositories>\r
<version>3.8.1</version>\r
<scope>test</scope>\r
</dependency>\r
+ <dependency>\r
+ <groupId>com.google.gwt</groupId>\r
+ <artifactId>gwt-user</artifactId>\r
+ <version>${gwtversion}</version>\r
+ <scope>provided</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.google.gwt</groupId>\r
+ <artifactId>gwt-dev</artifactId>\r
+ <version>${gwtversion}</version>\r
+ <scope>provided</scope>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>com.google.gwt</groupId>\r
+ <artifactId>gwt-servlet</artifactId>\r
+ <version>${gwtversion}</version>\r
+ <scope>runtime</scope>\r
+ </dependency>\r
<dependency>\r
<groupId>com.google.gwt</groupId>\r
<artifactId>gwtquery</artifactId>\r
</execution>\r
</executions>\r
</plugin>\r
+ <plugin>\r
+ <artifactId>maven-surefire-plugin</artifactId>\r
+ <configuration>\r
+ <additionalClasspathElements>\r
+ <additionalClasspathElement>\${project.build.sourceDirectory}</additionalClasspathElement>\r
+ <additionalClasspathElement>\${project.build.testSourceDirectory}</additionalClasspathElement>\r
+ </additionalClasspathElements>\r
+ <useManifestOnlyJar>false</useManifestOnlyJar>\r
+ <forkMode>always</forkMode>\r
+ <systemProperties>\r
+ <property>\r
+ <name>gwt.args</name>\r
+ <value>-out target/www</value>\r
+ </property>\r
+ </systemProperties>\r
+ </configuration>\r
+ </plugin>\r
<plugin>\r
<artifactId>maven-clean-plugin</artifactId>\r
<configuration>\r
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.Timer;
/**
- * Test class for ${projecName} entry-point
+ * Test class for ${projectName} entry-point
*/
public class ${projectName}Test extends GWTTestCase {
final GQuery g = $("<div></div>").appendTo(document);
// run onModuleLoad
- Art a = new Art();
+ ${projectName} a = new ${projectName}();
a.onModuleLoad();
// delay the test