title: GWT RequestFactory compilation fail in NetBeans
body: <p>I have a trouble with make a simple GWT application using RequestFactory. GWT-RPC application works great.
  I'm using NetBeans, Maven, GWT 2.4.0. Compilation always fails.</p>
  
  <p>Here's some compilation steps with error at the end:</p>
  
  <pre><code>Apache Maven 3.0.4 (r1232337; 2012-01-17 10:44:56+0200)
  Maven home: C:\Programs\NetBeans 7.1.1\java\maven\bin\..
  Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
  Java home: C:\Programs (x86)\Java\jdk1.6.0_26\jre
  Default locale: ru_RU, platform encoding: Cp1251
  OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
  
  ......................................................
  
  [gwt:compile]
  org.codehaus.mojo:gwt-maven-plugin:jar:2.2.0:
     com.google.gwt:gwt-user:jar:2.4.0:runtime
        javax.validation:validation-api:jar:1.0.0.GA:runtime
        javax.validation:validation-api:jar:sources:1.0.0.GA:runtime
     com.google.gwt:gwt-dev:jar:2.4.0:runtime
     com.google.gwt:gwt-servlet:jar:2.4.0:runtime
     com.google.web.bindery:requestfactory-server:jar:2.4.0:runtime
        org.json:json:jar:20090211:runtime
     com.google.web.bindery:requestfactory-apt:jar:2.4.0:runtime
     org.hibernate:hibernate-validator:jar:4.1.0.Final:runtime
        org.slf4j:slf4j-api:jar:1.5.6:runtime
     org.apache.maven:maven-project:jar:2.0.9:compile
        org.apache.maven:maven-settings:jar:2.0.9:compile
        org.apache.maven:maven-profile:jar:2.0.9:compile
        org.apache.maven:maven-artifact-manager:jar:2.0.9:compile
           org.apache.maven:maven-repository-metadata:jar:2.0.9:compile
        org.apache.maven:maven-plugin-registry:jar:2.0.9:compile
     org.apache.maven:maven-model:jar:2.0.9:compile
     org.apache.maven:maven-artifact:jar:2.0.9:compile
     org.apache.maven:maven-plugin-api:jar:2.0.9:compile
     org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
     org.apache.maven.reporting:maven-reporting-impl:jar:2.1:compile
        org.apache.maven.doxia:doxia-core:jar:1.1.2:compile
           commons-httpclient:commons-httpclient:jar:3.1:compile
              commons-codec:commons-codec:jar:1.2:compile
        commons-validator:commons-validator:jar:1.2.0:compile
           commons-beanutils:commons-beanutils:jar:1.7.0:compile
           commons-digester:commons-digester:jar:1.6:compile
           oro:oro:jar:2.0.8:compile
     org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
     org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile
     org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile
        org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile
        org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile
        org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile
        org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:compile
        org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
        org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile
        org.apache.velocity:velocity:jar:1.5:compile
        commons-collections:commons-collections:jar:3.2:compile
     org.springframework:spring-core:jar:3.0.5.RELEASE:compile
        org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
        commons-logging:commons-logging:jar:1.1.1:compile
     org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
     com.thoughtworks.qdox:qdox:jar:1.12:compile
     freemarker:freemarker:jar:2.3.6:compile
     org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9:compile
        org.codehaus.plexus:plexus-io:jar:1.0-alpha-1:compile
     org.apache.maven:maven-archiver:jar:2.4.1:compile
        org.codehaus.plexus:plexus-interpolation:jar:1.13:compile
     junit:junit:jar:4.8.1:compile
     org.apache.maven.surefire:surefire-booter:jar:2.4.3:compile
     org.apache.maven.surefire:surefire-api:jar:2.4.3:compile
     commons-lang:commons-lang:jar:2.5:compile
     org.jdom:jdom:jar:1.1:compile
     jaxen:jaxen:jar:1.1.1:compile
        dom4j:dom4j:jar:1.6.1:compile
        jdom:jdom:jar:1.0:compile
        xml-apis:xml-apis:jar:1.3.02:compile
        xom:xom:jar:1.0:compile
           xerces:xmlParserAPIs:jar:2.6.2:compile
           xalan:xalan:jar:2.6.0:compile
           com.ibm.icu:icu4j:jar:2.6.1:compile
     org.apache.bcel:bcel:jar:5.2:compile
        jakarta-regexp:jakarta-regexp:jar:1.4:compile
     xerces:xercesImpl:jar:2.9.1:compile
     classworlds:classworlds:jar:1.1-alpha-2:compile
     org.codehaus.plexus:plexus-compiler-api:jar:1.5.3:compile
     org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3:compile
  Created new class realm plugin&gt;org.codehaus.mojo:gwt-maven-plugin:2.2.0
  Importing foreign packages into class realm plugin&gt;org.codehaus.mojo:gwt-maven-plugin:2.2.0
    Imported:  &lt; maven.api
  Populating class realm plugin&gt;org.codehaus.mojo:gwt-maven-plugin:2.2.0
    Included: org.codehaus.mojo:gwt-maven-plugin:jar:2.2.0
    Included: com.google.gwt:gwt-user:jar:2.4.0
    Included: javax.validation:validation-api:jar:1.0.0.GA
    Included: javax.validation:validation-api:jar:sources:1.0.0.GA
    Included: com.google.gwt:gwt-dev:jar:2.4.0
    Included: com.google.gwt:gwt-servlet:jar:2.4.0
    Included: com.google.web.bindery:requestfactory-server:jar:2.4.0
    Included: org.json:json:jar:20090211
    Included: com.google.web.bindery:requestfactory-apt:jar:2.4.0
    Included: org.hibernate:hibernate-validator:jar:4.1.0.Final
    Included: org.slf4j:slf4j-api:jar:1.5.6
    Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0
    Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.1
    Included: org.apache.maven.doxia:doxia-core:jar:1.1.2
    Included: commons-httpclient:commons-httpclient:jar:3.1
    Included: commons-codec:commons-codec:jar:1.2
    Included: commons-validator:commons-validator:jar:1.2.0
    Included: commons-beanutils:commons-beanutils:jar:1.7.0
    Included: commons-digester:commons-digester:jar:1.6
    Included: oro:oro:jar:2.0.8
    Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0
    Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4
    Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1.4
    Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4
    Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4
    Included: org.apache.maven.doxia:doxia-module-fml:jar:1.1.4
    Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
    Included: org.codehaus.plexus:plexus-velocity:jar:1.1.7
    Included: org.apache.velocity:velocity:jar:1.5
    Included: commons-collections:commons-collections:jar:3.2
    Included: org.springframework:spring-core:jar:3.0.5.RELEASE
    Included: org.springframework:spring-asm:jar:3.0.5.RELEASE
    Included: commons-logging:commons-logging:jar:1.1.1
    Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
    Included: com.thoughtworks.qdox:qdox:jar:1.12
    Included: freemarker:freemarker:jar:2.3.6
    Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
    Included: org.codehaus.plexus:plexus-io:jar:1.0-alpha-1
    Included: org.apache.maven:maven-archiver:jar:2.4.1
    Included: org.codehaus.plexus:plexus-interpolation:jar:1.13
    Included: junit:junit:jar:4.8.1
    Included: org.apache.maven.surefire:surefire-booter:jar:2.4.3
    Included: org.apache.maven.surefire:surefire-api:jar:2.4.3
    Included: commons-lang:commons-lang:jar:2.5
    Included: org.jdom:jdom:jar:1.1
    Included: jaxen:jaxen:jar:1.1.1
    Included: dom4j:dom4j:jar:1.6.1
    Included: jdom:jdom:jar:1.0
    Included: xml-apis:xml-apis:jar:1.3.02
    Included: xom:xom:jar:1.0
    Included: xerces:xmlParserAPIs:jar:2.6.2
    Included: xalan:xalan:jar:2.6.0
    Included: com.ibm.icu:icu4j:jar:2.6.1
    Included: org.apache.bcel:bcel:jar:5.2
    Included: jakarta-regexp:jakarta-regexp:jar:1.4
    Included: xerces:xercesImpl:jar:2.9.1
    Included: org.codehaus.plexus:plexus-compiler-api:jar:1.5.3
    Included: org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3
    Excluded: org.apache.maven:maven-project:jar:2.0.9
    Excluded: org.apache.maven:maven-settings:jar:2.0.9
    Excluded: org.apache.maven:maven-profile:jar:2.0.9
    Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9
    Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9
    Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9
    Excluded: org.apache.maven:maven-model:jar:2.0.9
    Excluded: org.apache.maven:maven-artifact:jar:2.0.9
    Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9
    Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
    Excluded: classworlds:classworlds:jar:1.1-alpha-2
  Configuring mojo org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile from plugin realm ClassRealm[plugin&gt;org.codehaus.mojo:gwt-maven-plugin:2.2.0, parent: sun.misc.Launcher$AppClassLoader@d9f9c3]
  Configuring mojo 'org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile' with basic configurator --&gt;
    (f) compileReport = true
    (f) disableCastChecking = false
    (f) disableClassMetadata = false
    (f) draftCompile = false
    (f) enableAssertions = false
    (f) extra = D:\proj\Java\GWT\gwtapp\target\extra
    (f) extraJvmArgs = -Xmx512m
    (f) extraParam = false
    (f) force = false
    (f) gen = D:\proj\Java\GWT\gwtapp\target\.generated
    (f) generateDirectory = D:\proj\Java\GWT\gwtapp\target\generated-sources\gwt
    (f) gwtSdkFirstInClasspath = false
    (f) inplace = false
    (f) localRepository =        id: local
        url: file:///C:/Users/casper/.m2/repository/
     layout: none
  
    (f) logLevel = INFO
    (f) optimizationLevel = -1
    (f) pluginArtifacts = {org.codehaus.mojo:gwt-maven-plugin=org.codehaus.mojo:gwt-maven-plugin:maven-plugin:2.2.0:, com.google.gwt:gwt-user=com.google.gwt:gwt-user:jar:2.4.0:runtime, javax.validation:validation-api=javax.validation:validation-api:jar:sources:1.0.0.GA:runtime, com.google.gwt:gwt-dev=com.google.gwt:gwt-dev:jar:2.4.0:runtime, com.google.gwt:gwt-servlet=com.google.gwt:gwt-servlet:jar:2.4.0:runtime, com.google.web.bindery:requestfactory-server=com.google.web.bindery:requestfactory-server:jar:2.4.0:runtime, org.json:json=org.json:json:jar:20090211:runtime, com.google.web.bindery:requestfactory-apt=com.google.web.bindery:requestfactory-apt:jar:2.4.0:runtime, org.hibernate:hibernate-validator=org.hibernate:hibernate-validator:jar:4.1.0.Final:runtime, org.slf4j:slf4j-api=org.slf4j:slf4j-api:jar:1.5.6:runtime, org.apache.maven.reporting:maven-reporting-api=org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile, org.apache.maven.reporting:maven-reporting-impl=org.apache.maven.reporting:maven-reporting-impl:jar:2.1:compile, org.apache.maven.doxia:doxia-core=org.apache.maven.doxia:doxia-core:jar:1.1.2:compile, commons-httpclient:commons-httpclient=commons-httpclient:commons-httpclient:jar:3.1:compile, commons-codec:commons-codec=commons-codec:commons-codec:jar:1.2:compile, commons-validator:commons-validator=commons-validator:commons-validator:jar:1.2.0:compile, commons-beanutils:commons-beanutils=commons-beanutils:commons-beanutils:jar:1.7.0:compile, commons-digester:commons-digester=commons-digester:commons-digester:jar:1.6:compile, oro:oro=oro:oro:jar:2.0.8:compile, org.apache.maven.doxia:doxia-sink-api=org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile, org.apache.maven.doxia:doxia-site-renderer=org.apache.maven.doxia:doxia-site-renderer:jar:1.1.4:compile, org.apache.maven.doxia:doxia-logging-api=org.apache.maven.doxia:doxia-logging-api:jar:1.1.4:compile, org.apache.maven.doxia:doxia-decoration-model=org.apache.maven.doxia:doxia-decoration-model:jar:1.1.4:compile, org.apache.maven.doxia:doxia-module-xhtml=org.apache.maven.doxia:doxia-module-xhtml:jar:1.1.4:compile, org.apache.maven.doxia:doxia-module-fml=org.apache.maven.doxia:doxia-module-fml:jar:1.1.4:compile, org.codehaus.plexus:plexus-i18n=org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile, org.codehaus.plexus:plexus-velocity=org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile, org.apache.velocity:velocity=org.apache.velocity:velocity:jar:1.5:compile, commons-collections:commons-collections=commons-collections:commons-collections:jar:3.2:compile, org.springframework:spring-core=org.springframework:spring-core:jar:3.0.5.RELEASE:compile, org.springframework:spring-asm=org.springframework:spring-asm:jar:3.0.5.RELEASE:compile, commons-logging:commons-logging=commons-logging:commons-logging:jar:1.1.1:compile, org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:2.0.5:compile, com.thoughtworks.qdox:qdox=com.thoughtworks.qdox:qdox:jar:1.12:compile, freemarker:freemarker=freemarker:freemarker:jar:2.3.6:compile, org.codehaus.plexus:plexus-archiver=org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9:compile, org.codehaus.plexus:plexus-io=org.codehaus.plexus:plexus-io:jar:1.0-alpha-1:compile, org.apache.maven:maven-archiver=org.apache.maven:maven-archiver:jar:2.4.1:compile, org.codehaus.plexus:plexus-interpolation=org.codehaus.plexus:plexus-interpolation:jar:1.13:compile, junit:junit=junit:junit:jar:4.8.1:compile, org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.4.3:compile, org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:2.4.3:compile, commons-lang:commons-lang=commons-lang:commons-lang:jar:2.5:compile, org.jdom:jdom=org.jdom:jdom:jar:1.1:compile, jaxen:jaxen=jaxen:jaxen:jar:1.1.1:compile, dom4j:dom4j=dom4j:dom4j:jar:1.6.1:compile, jdom:jdom=jdom:jdom:jar:1.0:compile, xml-apis:xml-apis=xml-apis:xml-apis:jar:1.3.02:compile, xom:xom=xom:xom:jar:1.0:compile, xerces:xmlParserAPIs=xerces:xmlParserAPIs:jar:2.6.2:compile, xalan:xalan=xalan:xalan:jar:2.6.0:compile, com.ibm.icu:icu4j=com.ibm.icu:icu4j:jar:2.6.1:compile, org.apache.bcel:bcel=org.apache.bcel:bcel:jar:5.2:compile, jakarta-regexp:jakarta-regexp=jakarta-regexp:jakarta-regexp:jar:1.4:compile, xerces:xercesImpl=xerces:xercesImpl:jar:2.9.1:compile, org.codehaus.plexus:plexus-compiler-api=org.codehaus.plexus:plexus-compiler-api:jar:1.5.3:compile, org.codehaus.plexus:plexus-compiler-javac=org.codehaus.plexus:plexus-compiler-javac:jar:1.5.3:compile}
    (f) project = MavenProject: ru.itskills.gwtapp:App:1.0-SNAPSHOT @ D:\proj\Java\GWT\gwtapp\pom.xml
    (f) remoteRepositories = [       id: central
        url: http://repo.maven.apache.org/maven2
     layout: default
  snapshots: [enabled =&gt; false, update =&gt; daily]
   releases: [enabled =&gt; true, update =&gt; daily]
  ]
    (f) skip = false
    (f) soyc = false
    (f) soycDetailed = false
    (f) strict = false
    (f) style = OBF
    (f) treeLogger = false
    (f) validateOnly = false
    (f) version = 2.2.0
    (f) warSourceDirectory = D:\proj\Java\GWT\gwtapp\src\main\webapp
    (f) webappDirectory = D:\proj\Java\GWT\gwtapp\target\App-1.0-SNAPSHOT
  -- end configuration --
  
  ......................................................
  
  Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile (default) on project App: GWT Module com.google.web.bindery.requestfactory.shared.RequestFactory not found in project sources or resources. -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.2.0:compile (default) on project App: GWT Module com.google.web.bindery.requestfactory.shared.RequestFactory not found in project sources or resources.
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:601)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module com.google.web.bindery.requestfactory.shared.RequestFactory not found in project sources or resources.
          at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:498)
          at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:325)
          at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:255)
          at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:119)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
          ... 19 more
  Caused by: org.codehaus.mojo.gwt.utils.GwtModuleReaderException: GWT Module com.google.web.bindery.requestfactory.shared.RequestFactory not found in project sources or resources.
          at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:205)
          at org.codehaus.mojo.gwt.GwtModule.getLocalInherits(GwtModule.java:186)
          at org.codehaus.mojo.gwt.GwtModule.getInherits(GwtModule.java:146)
          at org.codehaus.mojo.gwt.GwtModule.getEntryPoints(GwtModule.java:111)
          at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired(CompileMojo.java:440)
          ... 24 more
  </code></pre>
  
  <p>And pom.xml</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
    &lt;!-- POM file generated with GWT webAppCreator --&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;ru.itskills.gwtapp&lt;/groupId&gt;
    &lt;artifactId&gt;App&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;ru.itskills.gwtapp.App&lt;/name&gt;
  
    &lt;properties&gt;
      &lt;!-- Convenience property to set the GWT version --&gt;
      &lt;gwtVersion&gt;2.4.0&lt;/gwtVersion&gt;
      &lt;!-- GWT needs at least java 1.6 --&gt;
      &lt;maven.compiler.source&gt;1.6&lt;/maven.compiler.source&gt;
      &lt;maven.compiler.target&gt;1.6&lt;/maven.compiler.target&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
        &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt;
        &lt;version&gt;${gwtVersion}&lt;/version&gt;
        &lt;scope&gt;runtime&lt;/scope&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;${gwtVersion}&lt;/version&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
        &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
        &lt;version&gt;${gwtVersion}&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&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;scope&gt;provided&lt;/scope&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;classifier&gt;sources&lt;/classifier&gt;
        &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;!-- RequestFactory --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.web.bindery&lt;/groupId&gt;
        &lt;artifactId&gt;requestfactory-server&lt;/artifactId&gt;
        &lt;version&gt;${gwtVersion}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- see sample projects for correct placement --&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;com.google.web.bindery&lt;/groupId&gt;
        &lt;artifactId&gt;requestfactory-apt&lt;/artifactId&gt;
        &lt;version&gt;${gwtVersion}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
        &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
        &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
        &lt;version&gt;4.1.0.Final&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  
    &lt;build&gt;
      &lt;!-- Generate compiled stuff in the folder used for developing mode --&gt;
      &lt;outputDirectory&gt;target/www/WEB-INF/classes&lt;/outputDirectory&gt;
  
      &lt;plugins&gt;
  
        &lt;!-- GWT Maven Plugin--&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
          &lt;artifactId&gt;gwt-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.2.0&lt;/version&gt;
          &lt;dependencies&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-user&lt;/artifactId&gt;
              &lt;version&gt;${gwtVersion}&lt;/version&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-dev&lt;/artifactId&gt;
              &lt;version&gt;${gwtVersion}&lt;/version&gt;
            &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;com.google.gwt&lt;/groupId&gt;
              &lt;artifactId&gt;gwt-servlet&lt;/artifactId&gt;
              &lt;version&gt;${gwtVersion}&lt;/version&gt;
            &lt;/dependency&gt;
  
              &lt;!-- RequestFactory --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.web.bindery&lt;/groupId&gt;
                  &lt;artifactId&gt;requestfactory-server&lt;/artifactId&gt;
                  &lt;version&gt;${gwtVersion}&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- see sample projects for correct placement --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.web.bindery&lt;/groupId&gt;
                  &lt;artifactId&gt;requestfactory-apt&lt;/artifactId&gt;
                  &lt;version&gt;${gwtVersion}&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
          &lt;!-- JS is only needed in the package phase, this speeds up testing --&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;phase&gt;prepare-package&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;compile&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;!-- Plugin configuration. There are many available options,
              see gwt-maven-plugin documentation at codehaus.org --&gt;
          &lt;configuration&gt;
            &lt;!-- URL that should be automatically opened in the GWT shell (gwt:run). --&gt;
            &lt;runTarget&gt;App.html&lt;/runTarget&gt;
            &lt;!-- Location of the develop-mode web application structure (gwt:run). --&gt;
            &lt;hostedWebapp&gt;target/www&lt;/hostedWebapp&gt;
            &lt;!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) --&gt;
            &lt;compileReport&gt;true&lt;/compileReport&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
  
        &lt;!-- Add source folders to test classpath in order to run gwt-tests as normal junit-tests --&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;configuration&gt;
            &lt;additionalClasspathElements&gt;
              &lt;additionalClasspathElement&gt;${project.build.sourceDirectory}&lt;/additionalClasspathElement&gt;
              &lt;additionalClasspathElement&gt;${project.build.testSourceDirectory}&lt;/additionalClasspathElement&gt;
            &lt;/additionalClasspathElements&gt;
            &lt;useManifestOnlyJar&gt;false&lt;/useManifestOnlyJar&gt;
            &lt;forkMode&gt;always&lt;/forkMode&gt;
  
            &lt;!-- Folder for generated testing stuff --&gt;
            &lt;systemProperties&gt;
              &lt;property&gt;
                &lt;name&gt;gwt.args&lt;/name&gt;
                &lt;value&gt;-out target/www&lt;/value&gt;
              &lt;/property&gt;
            &lt;/systemProperties&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
  
        &lt;!-- Copy static web files before executing gwt:run --&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.4.2&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;phase&gt;compile&lt;/phase&gt;
              &lt;goals&gt;
                &lt;goal&gt;copy-resources&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;outputDirectory&gt;target/www&lt;/outputDirectory&gt;
                &lt;resources&gt;
                  &lt;resource&gt;
                    &lt;directory&gt;src/main/webapp&lt;/directory&gt;
                  &lt;/resource&gt;
                &lt;/resources&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
          &lt;configuration&gt;
            &lt;encoding&gt;${project.build.sourceEncoding}&lt;/encoding&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
  
        &lt;!-- Delete gwt generated stuff --&gt;
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.3&lt;/version&gt;
          &lt;configuration&gt;
            &lt;filesets&gt;
              &lt;fileset&gt;&lt;directory&gt;src/main/webapp/app&lt;/directory&gt;&lt;/fileset&gt;
              &lt;fileset&gt;&lt;directory&gt;src/main/webapp/WEB-INF/classes&lt;/directory&gt;&lt;/fileset&gt;
              &lt;fileset&gt;&lt;directory&gt;tomcat&lt;/directory&gt;&lt;/fileset&gt;
              &lt;fileset&gt;&lt;directory&gt;www-test&lt;/directory&gt;&lt;/fileset&gt;
              &lt;fileset&gt;&lt;directory&gt;.gwt-tmp&lt;/directory&gt;&lt;/fileset&gt;
            &lt;/filesets&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
  
        &lt;plugin&gt;
          &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.7&lt;/version&gt;  &lt;!--  Note 2.8 does not work with AspectJ aspect path --&gt;
          &lt;configuration&gt;
            &lt;downloadSources&gt;true&lt;/downloadSources&gt;
            &lt;downloadJavadocs&gt;false&lt;/downloadJavadocs&gt;
            &lt;wtpversion&gt;2.0&lt;/wtpversion&gt;
            &lt;additionalBuildcommands&gt;
              &lt;buildCommand&gt;
                &lt;name&gt;com.google.gwt.eclipse.core.gwtProjectValidator&lt;/name&gt;
              &lt;/buildCommand&gt;
            &lt;/additionalBuildcommands&gt;
            &lt;additionalProjectnatures&gt;
              &lt;projectnature&gt;com.google.gwt.eclipse.core.gwtNature&lt;/projectnature&gt;
            &lt;/additionalProjectnatures&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;version&gt;2.3.2&lt;/version&gt;
          &lt;configuration&gt;
            &lt;encoding&gt;${project.build.sourceEncoding}&lt;/encoding&gt;
            &lt;source&gt;1.6&lt;/source&gt;
            &lt;target&gt;1.6&lt;/target&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Looks like there is no some plugin or library or smth like this.</p>