title: How to compile a widgetSet in vaadin?
body: <p>I am trying to use the visualizationsForVaadin add-on. The problem is, that I have to compile a custom widgetSet. I've been dealing with this the whole day, and still cannot compile it. First of all, here is my configuration:</p>
  
  <ul>
  <li>Vaadin 6.7.1 </li>
  <li>gwt 2.3.0</li>
  </ul>
  
  <p>following dependencies are in my pom file:</p>
  
  <ul>
  <li>gwt-ajaxloader 1.1.0</li>
  <li>validation-api 1.0.0.GA</li>
  <li>gwt-visualization 1.0.2</li>
  <li>gwt-user 2.3.0</li>
  <li>visualizationsforvaadin 1.1.2.</li>
  </ul>
  
  <p>When I try to compile the widgetSet with maven gwt plugin I get an exception: </p>
  
  <pre><code>Loading inherited module 'com.google.gwt.core.XSLinker'
  [ERROR] Line 22: Unexpected element 'when-linker-added'
  [ERROR] Failure while parsing XML
  </code></pre>
  
  <p>An interesting thing is, that the gwt-dev library, that is automatically loaded (as far as I know) is of version 2.0.3
  I have tried everything possible (even impossible) and still nothing. At some point I had other exceptions complaining that the import of validation classes could not be resolved. I think, that has been resolved by some other dependencies. Please help. Thank you.</p>
  
  <p>POM configuration:</p>
  
  <pre><code>&lt;plugin&gt;
   &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
   &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
  &lt;!-- Version 2.1.0-1 works at least with Vaadin 6.5 --&gt;
   &lt;version&gt;2.3.0&lt;/version&gt;
   &lt;configuration&gt;
       &lt;!-- if you don't specify any modules, the plugin will find them --&gt;
       &lt;!--modules&gt;
           ..
       &lt;/modules--&gt;
       &lt;webappDirectory&gt;${project.build.directory}/${project.build.finalName}/VAADIN/widgetsets&lt;/webappDirectory&gt;
       &lt;extraJvmArgs&gt;-Xmx512M -Xss1024k&lt;/extraJvmArgs&gt;
       &lt;runTarget&gt;clean&lt;/runTarget&gt;
       &lt;hostedWebapp&gt;${project.build.directory}/${project.build.finalName}&lt;/hostedWebapp&gt;
       &lt;noServer&gt;true&lt;/noServer&gt;
       &lt;port&gt;8080&lt;/port&gt;
       &lt;soyc&gt;false&lt;/soyc&gt;
   &lt;/configuration&gt;
   &lt;executions&gt;
       &lt;execution&gt;
           &lt;goals&gt;
               &lt;goal&gt;resources&lt;/goal&gt;
               &lt;goal&gt;compile&lt;/goal&gt;
           &lt;/goals&gt;
       &lt;/execution&gt;
   &lt;/executions&gt;
   &lt;dependencies&gt;
      &lt;dependency&gt;
      &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
      &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
      &lt;version&gt;2.3.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
      &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
      &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
      &lt;version&gt;${gwt.version}&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>And here are the GWT dependencies</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;com.google.gwt.google-apis&lt;/groupId&gt;
          &lt;artifactId&gt;gwt-visualization&lt;/artifactId&gt;
          &lt;version&gt;1.0.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.validation&lt;/groupId&gt;
          &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
          &lt;version&gt;1.0.0.GA&lt;/version&gt;
      &lt;/dependency&gt;        
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gwt.google-apis&lt;/groupId&gt;
          &lt;artifactId&gt;gwt-ajaxloader&lt;/artifactId&gt;
          &lt;version&gt;1.1.0&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;dependency&gt;
          &lt;groupId&gt;org.vaadin.addons&lt;/groupId&gt;
          &lt;artifactId&gt;visualizationsforvaadin&lt;/artifactId&gt;
          &lt;version&gt;1.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax&lt;/groupId&gt;
          &lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;
          &lt;version&gt;6.0&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.vaadin&lt;/groupId&gt;
          &lt;artifactId&gt;vaadin&lt;/artifactId&gt;
          &lt;version&gt;${vaadin.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
          &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
          &lt;version&gt;${gwt.version}&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>