* Right click on the project -> Run as -> Web Application
* Right click on the test class -> Run as -> GWT JUnit Test
+
+- Although the project has the files .classpath and .project, you could generate them running any
+ of the following commands:
+
+$ mvn eclipse:m2eclipse (if you like to use m2eclipse)
+$ mvn eclipse:eclipse (to use the project without m2eclipse)
</dependencies>\r
<build>\r
<plugins>\r
+ <plugin>\r
+ <groupId>org.apache.maven.plugins</groupId>\r
+ <artifactId>maven-compiler-plugin</artifactId>\r
+ <version>2.1</version>\r
+ <configuration>\r
+ <source>1.6</source>\r
+ <target>1.6</target>\r
+ </configuration>\r
+ </plugin>\r
<plugin>\r
<groupId>org.codehaus.mojo</groupId>\r
<artifactId>gwt-maven-plugin</artifactId>\r
<plugin>\r
<groupId>org.apache.maven.plugins</groupId>\r
<artifactId>maven-eclipse-plugin</artifactId>\r
- <version>2.8</version>\r
+ <version>2.7</version>\r
<configuration>\r
<downloadSources>true</downloadSources>\r
<downloadJavadocs>false</downloadJavadocs>\r
<projectnature>org.eclipse.jdt.core.javanature</projectnature>\r
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>\r
</additionalProjectnatures>\r
+ <classpathContainers>\r
+ <classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER</classpathContainer>\r
+ <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>\r
+ <classpathContainer>org.eclipse.jdt.junit.JUNIT_CONTAINER/3</classpathContainer>\r
+ </classpathContainers>\r
</configuration>\r
</plugin>\r
<!-- GWT plugin does not copy the webapp folder in hosted mode -->\r