This will help you in building modules and running unit tests <build> <!-- Package also the java sources--> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.java</include> <include>**/*.gwt.xml</include> <!-- Used for UIBinder --> <include>**/*.ui.xml</include> <include>**/*.css</include> <include>**/*.png</include> <include>**/*.gif</include> </includes> </resource> <resource> <directory>target/generated-sources/gwt</directory> <includes> <include>**/*.java</include> <include>**/*.xml</include> </includes> </resource> </resources> <plugins> <!--GWT Tests--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <additionalClasspathElements> <additionalClasspathElement>${project.build.sourceDirectory}</additionalClasspathElement> <additionalClasspathElement>${project.build.testSourceDirectory}</additionalClasspathElement> </additionalClasspathElements> <useManifestOnlyJar>false</useManifestOnlyJar> <forkMode>once</forkMode> <reportFormat>xml</reportFormat> <systemProperties> <property> <name>gwt.args</name> <value>-out target/www</value> </property> <property> <name>java.awt.headless</name> <value>true</value> </property> <property> <name>java.awt.headless</name> <value>true</value> </property> </systemProperties> <argLine>-Xmx512m</argLine> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/gwt</source> </sources> </configuration> </execution> </executions> </plugin> </plugins> </build>
-----Original Message----- From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Karthik Abram Sent: Saturday, March 27, 2010 12:10 AM To: google-web-toolkit@googlegroups.com Subject: Re: GWT 2.0.3 + Maven2 + Eclipse Use the gwt-maven-plugin version 1.2-SNAPSHOT to have your project work with GWT 2.x -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.