Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Vaadin Maven Netbeans Widgetsets
I have been struggling with this for days. I have read the posts...and the docs but it just doenst work period. the bits to the pom are:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<!-- Version 2.1.0-1 works at least with Vaadin 6.5 -->
<version>2.1.0-1</version>
<configuration>
<!-- if you don't specify any modules, the plugin will find them -->
<modules>
<module>com.jeldwen.titanattributor.widgetset.TitanAttributorWidgetset</module>
</modules>
<webappDirectory>${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets</webappDirectory>
<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
<runTarget>clean</runTarget>
<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>
<noServer>true</noServer>
<port>8080</port>
<soyc>false</soyc>
</configuration>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Updates Vaadin 6.2+ widgetset definitions based on project dependencies -->
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>1.0.2</version>
<executions>
<execution>
<configuration>
<!-- if you don't specify any modules, the plugin will find them -->
<modules>
<module>com.jeldwen.titanattributor.widgetset.TitanAttributorWidgetset</module>
</modules>
</configuration>
<goals>
<goal>update-widgetset</goal>
</goals>
</execution>
</executions>
</plugin>
And...
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<version>${vaadin.version}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.vaadin.addons</groupId>
<artifactId> PagedTable </artifactId>
<version>0.6.3</version>
</dependency>
running "vaadin:update-widgetset" i get:
[vaadin:update-widgetset]
GWT plugin is configured to detect modules, but none were found.
No widgetsets to update.
To create a widgetset, define a non-existing module in your pom.xml
please please i am begging some one to tell me the missing piece...thanks...oh and btw there is no gwt.xml....i am not sure if i am suppose to make that myself and if so what the schema is.
Okay i finally solved the issue and I hope this consolidates all the pieces of the answers out there into a useful summary. from the following links I derived the correct solution:
the trick comes down to, like all maven issues, of managing versions. To aid in this i create a propert section in the pom like so:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<vaadin.version>6.6.2</vaadin.version>
<gwt.version>2.4.0</gwt.version>
<gwt.plugin.version>2.4.0</gwt.plugin.version>
<vaadin.plugin.version>1.0.2</vaadin.plugin.version>
<netbeans.hint.deploy.server>Tomcat</netbeans.hint.deploy.server>
</properties>
As of the date of this post these are all up to date and work together. Thus the plugins and dependencies are :
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.plugin.version}</version>
...
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.plugin.version}</version>
...
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin</artifactId>
<version>${vaadin.version}</version>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwt.version}</version>
<scope>provided</scope>
</dependency>
I hope this helps some one.