maven - GWT Module XXX not found in project sources or resources -


i have widgetset compiled maven goals: vaadin:update-widgetset gwt:compile. pom.xml , web.xml files configurations should fine.

i'm maven newbie , first maven project.

after compilation compiled code shows in src/main/webapp/vaadin/widgetsets folder. when try run install goal error shows:

failed execute goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:resources (default) on project validation-manager-web: gwt module com.pantar.widget.graph.graphwidget not found in project sources or resources.

just in case here relevant files:

pom:

        <plugins>             <!-- compiles custom gwt components gwt compiler -->             <!-- hosted mode browser client-side widget debugging can run goal gwt:run after uncommenting              correct line below. remote debugger can connected port 8998. note e.g. jetty server should running              server side parts - use goal jetty:run . -->             <plugin>                 <groupid>org.codehaus.mojo</groupid>                 <artifactid>gwt-maven-plugin</artifactid>                 <version>${gwt.plugin.version}</version>                 <configuration>                     <!-- if don't specify modules, plugin find them -->                     <modules>                          <module>com.pantar.widget.graph.graphwidget</module>                      </modules>                     <webappdirectory>src/main/webapp/vaadin/widgetsets</webappdirectory>                     <!-- on mac running snow leopard, add "-d32" -->                     <!-- causes error messages (but build works) in phase "package": 2 processes use same debug                      port -->                     <!--extrajvmargs>-xmx512m -xss1024k -xdebug -xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8998</extrajvmargs -->                     <extrajvmargs>-xmx512m -xss1024k</extrajvmargs>                     <runtarget>validation-manager-web</runtarget>                     <hostedwebapp>${project.build.directory}/${project.build.finalname}</hostedwebapp>                     <noserver>true</noserver>                     <port>8084</port>                     <compilereport>false</compilereport>                 </configuration>                 <executions>                     <execution>                         <goals>                             <goal>resources</goal>                             <goal>compile</goal>                         </goals>                     </execution>                 </executions>                 <dependencies>                     <dependency>                         <groupid>com.google.gwt</groupid>                         <artifactid>gwt-dev</artifactid>                         <version>${gwt.version}</version>                     </dependency>                     <dependency>                         <groupid>com.google.gwt</groupid>                         <artifactid>gwt-user</artifactid>                         <version>${gwt.version}</version>                     </dependency>                 </dependencies>             </plugin>             <plugin>                 <groupid>com.vaadin</groupid>                 <artifactid>vaadin-maven-plugin</artifactid>                 <version>1.0.2</version>                 <executions>                     <execution>                         <configuration>                             <modules>                                  <module>com.pantar.widget.graph.graphwidget</module>                              </modules>                         </configuration>                         <goals>                             <goal>update-widgetset</goal>                         </goals>                     </execution>                 </executions>             </plugin> 

any ideas?

thanks in advance!

fixed adding empty gwt.xml file contents:

<?xml version="1.0" encoding="utf-8"?> <!doctype module public "-//google inc.//dtd google web toolkit 1.7.0//en" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd"> <module>     <inherits name="com.vaadin.terminal.gwt.defaultwidgetset" />      <inherits name="<module>" /> </module> 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -