title: Failed to execute goal (GWT Maven Plugin)
body: <p>I have a Maven Web Application project with GWT as framework (Windows 7, Netbeans 8, JDK 8). I'm pretty beginner with it, so I'm following the tutorials on tutorialspoint. I had just a label, and it compiled ok. Now, <a href="http://www.tutorialspoint.com/gwt/gwt_button_widget.htm" rel="nofollow">I've added a button</a>, and I got this obscure error for no apparent reason.</p>
  
  <p><strong>Main.gwt.xml</strong>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!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"&gt;
  &lt;module&gt;
      &lt;!-- Inherit the core Web Toolkit stuff.                        --&gt;
      &lt;inherits name='com.google.gwt.user.User' /&gt;
  
          &lt;!-- Inherit the default GWT style sheet.  You can change       --&gt;
      &lt;!-- the theme of your GWT application by uncommenting          --&gt;
      &lt;!-- any one of the following lines.                            --&gt;
      &lt;inherits name='com.google.gwt.user.theme.standard.Standard' /&gt;
      &lt;!-- &lt;inherits name='com.google.gwt.user.theme.chrome.Chrome'/&gt; --&gt;
      &lt;!-- &lt;inherits name='com.google.gwt.user.theme.dark.Dark'/&gt;     --&gt;
  
          &lt;!-- Other module inherits                                      --&gt;
  
      &lt;!-- Specify the app entry point class.                         --&gt;
  
          &lt;entry-point class="org.manager.client.OrderManager"/&gt;
          &lt;source path="client"/&gt;
  
  &lt;/module&gt;
  </code></pre>
  
  <p><strong>manager.html</strong> (The page I access when I run Tomcat):</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;!--
  The DOCTYPE declaration above will set the browser's rendering engine into
  "Standards Mode". Replacing this declaration with a "Quirks Mode" doctype may
  lead to some differences in layout.
  --&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta name='gwt:module' content='org.manager.Main=org.manager.Main'&gt;
          &lt;title&gt;Gerenciador&lt;/title&gt;
          &lt;link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"&gt;
          &lt;script type="text/javascript" src="org.manager.Main/org.manager.Main.nocache.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Label Widget Demonstration&lt;/h1&gt;
          &lt;div id="gwtContainer"&gt;&lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>OrderManager.java</strong> (The entry point)</p>
  
  <pre><code>package org.manager.client;
  
  import com.google.gwt.core.client.EntryPoint;
  import com.google.gwt.event.dom.client.ClickEvent;
  import com.google.gwt.user.client.Window;
  import com.google.gwt.user.client.ui.Button;
  import com.google.gwt.user.client.ui.Label;
  import com.google.gwt.user.client.ui.RootPanel;
  import com.google.gwt.user.client.ui.VerticalPanel;
  
  public class OrderManager implements EntryPoint {
  
      @Override
      public void onModuleLoad() {
  
          Label label = new Label("Fuck, this shit is fucking awesome!");
          label.setTitle("Yeah!");
          label.setStyleName("gwt-Green-Border");
          Button redButton = new Button("Red");
          redButton.setWidth("100px");
          redButton.addClickHandler((ClickEvent event) -&gt; {
              Window.alert("Red Button clicked!");
          });
  
          VerticalPanel panel = new VerticalPanel();
          panel.setSpacing(10);
          panel.add(label);
          panel.add(redButton);
  
          RootPanel.get("gwtContainer").add(panel);
  
      }
  
  }
  </code></pre>
  
  <p>And the error is:</p>
  
  <pre><code>G:\Insanity\Java\jdk1.8.0_51\jre\bin\java -Xmx512m -classpath "G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\java";"G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\resources";"G:\Insanity\Java\Workspace\Volapp\Volapp\target\classes";"C:\Users\EricsonWRP\.m2\repository\com\jwillians\JWeb\1.0\JWeb-1.0.jar";"C:\Users\EricsonWRP\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar";"C:\Users\EricsonWRP\.m2\repository\org\javatuples\javatuples\1.2\javatuples-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar";"C:\Users\EricsonWRP\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-user\2.0.1\gwt-user-2.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\javaee-web-api\7.0\javaee-web-api-7.0.jar";"C:\Users\EricsonWRP\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\jersey\core\jersey-common\2.4.1\jersey-common-2.4.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-api\2.2.0-b21\hk2-api-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-utils\2.2.0-b21\hk2-utils-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\javax.inject\2.2.0-b21\javax.inject-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-locator\2.2.0-b21\hk2-locator-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\asm-all-repackaged\2.2.0-b21\asm-all-repackaged-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\cglib\2.2.0-b21\cglib-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\ws\rs\javax.ws.rs-api\2.0\javax.ws.rs-api-2.0.jar";"C:\Users\EricsonWRP\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-dev\2.0.1\gwt-dev-2.0.1.jar" com.google.gwt.dev.Compiler -gen "G:\Insanity\Java\Workspace\Volapp\Volapp\target\.generated" -logLevel INFO -style OBF -war "G:\Insanity\Java\Workspace\Volapp\Volapp\target\Volapp-1.0" -localWorkers 4 -soyc -extra "G:\Insanity\Java\Workspace\Volapp\Volapp\target\extra" org.manager.Main
  Compiling module org.manager.Main
     Validating newly compiled units
        [ERROR] Errors in 'file:/G:/Insanity/Java/Workspace/Volapp/Volapp/src/main/java/org/manager/client/OrderManager.java'
           [ERROR] Line 21: ClickEvent cannot be resolved
           [ERROR] Line 21: Syntax error on token "event", delete this token
           [ERROR] Line 21: Syntax error on tokens, delete these tokens
           [ERROR] Line 22: Window.alert cannot be resolved
           [ERROR] Line 22: Syntax error on token(s), misplaced construct(s)
           [ERROR] Line 23: Syntax error on tokens, delete these tokens
     Finding entry point classes
        [ERROR] Unable to find type 'org.manager.client.OrderManager'
           [ERROR] Hint: Previous compiler errors may have made this type unavailable
           [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
  ------------------------------------------------------------------------
  BUILD FAILURE
  ------------------------------------------------------------------------
  Total time: 17.206s
  Finished at: Wed Sep 23 13:55:25 BRT 2015
  Final Memory: 18M/162M
  ------------------------------------------------------------------------
  Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:compile (default) on project Volapp: Command [[
  G:\Insanity\Java\jdk1.8.0_51\jre\bin\java -Xmx512m -classpath "G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\java";"G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\resources";"G:\Insanity\Java\Workspace\Volapp\Volapp\target\classes";"C:\Users\EricsonWRP\.m2\repository\com\jwillians\JWeb\1.0\JWeb-1.0.jar";"C:\Users\EricsonWRP\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar";"C:\Users\EricsonWRP\.m2\repository\org\javatuples\javatuples\1.2\javatuples-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar";"C:\Users\EricsonWRP\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-user\2.0.1\gwt-user-2.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\javaee-web-api\7.0\javaee-web-api-7.0.jar";"C:\Users\EricsonWRP\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\jersey\core\jersey-common\2.4.1\jersey-common-2.4.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-api\2.2.0-b21\hk2-api-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-utils\2.2.0-b21\hk2-utils-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\javax.inject\2.2.0-b21\javax.inject-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-locator\2.2.0-b21\hk2-locator-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\asm-all-repackaged\2.2.0-b21\asm-all-repackaged-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\cglib\2.2.0-b21\cglib-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\ws\rs\javax.ws.rs-api\2.0\javax.ws.rs-api-2.0.jar";"C:\Users\EricsonWRP\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-dev\2.0.1\gwt-dev-2.0.1.jar" com.google.gwt.dev.Compiler -gen "G:\Insanity\Java\Workspace\Volapp\Volapp\target\.generated" -logLevel INFO -style OBF -war "G:\Insanity\Java\Workspace\Volapp\Volapp\target\Volapp-1.0" -localWorkers 4 -soyc -extra "G:\Insanity\Java\Workspace\Volapp\Volapp\target\extra" org.manager.Main
  ]] failed with status 1
  -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:1.2:compile (default) on project Volapp: Command [[
  G:\Insanity\Java\jdk1.8.0_51\jre\bin\java -Xmx512m -classpath "G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\java";"G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\resources";"G:\Insanity\Java\Workspace\Volapp\Volapp\target\classes";"C:\Users\EricsonWRP\.m2\repository\com\jwillians\JWeb\1.0\JWeb-1.0.jar";"C:\Users\EricsonWRP\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar";"C:\Users\EricsonWRP\.m2\repository\org\javatuples\javatuples\1.2\javatuples-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar";"C:\Users\EricsonWRP\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-user\2.0.1\gwt-user-2.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\javaee-web-api\7.0\javaee-web-api-7.0.jar";"C:\Users\EricsonWRP\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\jersey\core\jersey-common\2.4.1\jersey-common-2.4.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-api\2.2.0-b21\hk2-api-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-utils\2.2.0-b21\hk2-utils-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\javax.inject\2.2.0-b21\javax.inject-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-locator\2.2.0-b21\hk2-locator-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\asm-all-repackaged\2.2.0-b21\asm-all-repackaged-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\cglib\2.2.0-b21\cglib-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\ws\rs\javax.ws.rs-api\2.0\javax.ws.rs-api-2.0.jar";"C:\Users\EricsonWRP\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-dev\2.0.1\gwt-dev-2.0.1.jar" com.google.gwt.dev.Compiler -gen "G:\Insanity\Java\Workspace\Volapp\Volapp\target\.generated" -logLevel INFO -style OBF -war "G:\Insanity\Java\Workspace\Volapp\Volapp\target\Volapp-1.0" -localWorkers 4 -soyc -extra "G:\Insanity\Java\Workspace\Volapp\Volapp\target\extra" org.manager.Main
  ]] failed with status 1
      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:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      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.codehaus.mojo.gwt.shell.ForkedProcessExecutionException: Command [[
  G:\Insanity\Java\jdk1.8.0_51\jre\bin\java -Xmx512m -classpath "G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\java";"G:\Insanity\Java\Workspace\Volapp\Volapp\src\main\resources";"G:\Insanity\Java\Workspace\Volapp\Volapp\target\classes";"C:\Users\EricsonWRP\.m2\repository\com\jwillians\JWeb\1.0\JWeb-1.0.jar";"C:\Users\EricsonWRP\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar";"C:\Users\EricsonWRP\.m2\repository\org\javatuples\javatuples\1.2\javatuples-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\javax\mail\mail\1.4\mail-1.4.jar";"C:\Users\EricsonWRP\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-user\2.0.1\gwt-user-2.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\javaee-web-api\7.0\javaee-web-api-7.0.jar";"C:\Users\EricsonWRP\.m2\repository\org\jsoup\jsoup\1.8.3\jsoup-1.8.3.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\jersey\core\jersey-common\2.4.1\jersey-common-2.4.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-api\2.2.0-b21\hk2-api-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-utils\2.2.0-b21\hk2-utils-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\javax.inject\2.2.0-b21\javax.inject-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\hk2-locator\2.2.0-b21\hk2-locator-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\asm-all-repackaged\2.2.0-b21\asm-all-repackaged-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\external\cglib\2.2.0-b21\cglib-2.2.0-b21.jar";"C:\Users\EricsonWRP\.m2\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar";"C:\Users\EricsonWRP\.m2\repository\javax\ws\rs\javax.ws.rs-api\2.0\javax.ws.rs-api-2.0.jar";"C:\Users\EricsonWRP\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar";"C:\Users\EricsonWRP\.m2\repository\com\google\gwt\gwt-dev\2.0.1\gwt-dev-2.0.1.jar" com.google.gwt.dev.Compiler -gen "G:\Insanity\Java\Workspace\Volapp\Volapp\target\.generated" -logLevel INFO -style OBF -war "G:\Insanity\Java\Workspace\Volapp\Volapp\target\Volapp-1.0" -localWorkers 4 -soyc -extra "G:\Insanity\Java\Workspace\Volapp\Volapp\target\extra" org.manager.Main
  ]] failed with status 1
      at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.execute(AbstractGwtShellMojo.java:409)
      at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:232)
      at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:159)
      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
  
  
  For more information about the errors and possible solutions, please read the following articles:
  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  
  <p>And here's my <strong>pom.xml</strong></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/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.jwillians&lt;/groupId&gt;
      &lt;artifactId&gt;Volapp&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;name&gt;Volapp&lt;/name&gt;
      &lt;properties&gt;
          &lt;endorsed.dir&gt;${project.build.directory}/endorsed&lt;/endorsed.dir&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;netbeans.hint.deploy.server&gt;Tomcat7&lt;/netbeans.hint.deploy.server&gt;
          &lt;gwt.version&gt;2.0.3&lt;/gwt.version&gt;
          &lt;runTarget&gt;welcomeGWT.html&lt;/runTarget&gt;
      &lt;/properties&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;JWeb&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.mail&lt;/groupId&gt;
              &lt;artifactId&gt;mail&lt;/artifactId&gt;
              &lt;version&gt;1.4&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;2.0.1&lt;/version&gt;
              &lt;type&gt;jar&lt;/type&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;7.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.jsoup&lt;/groupId&gt;
              &lt;artifactId&gt;jsoup&lt;/artifactId&gt;
              &lt;version&gt;1.8.3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.glassfish.jersey.core&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-common&lt;/artifactId&gt;
              &lt;version&gt;2.4.1&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.ws.rs&lt;/groupId&gt;
              &lt;artifactId&gt;javax.ws.rs-api&lt;/artifactId&gt;
              &lt;version&gt;2.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.6&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;archive&gt;
                          &lt;manifest&gt;
                              &lt;mainClass&gt;fully.qualified.MainClass&lt;/mainClass&gt;
                          &lt;/manifest&gt;
                      &lt;/archive&gt;
                      &lt;descriptorRefs&gt;
                          &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                      &lt;/descriptorRefs&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;3.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                      &lt;compilerArguments&gt;
                          &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt;
                      &lt;/compilerArguments&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.6&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;validate&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;copy&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;outputDirectory&gt;${endorsed.dir}&lt;/outputDirectory&gt;
                              &lt;silent&gt;true&lt;/silent&gt;
                              &lt;artifactItems&gt;
                                  &lt;artifactItem&gt;
                                      &lt;groupId&gt;javax&lt;/groupId&gt;
                                      &lt;artifactId&gt;javaee-endorsed-api&lt;/artifactId&gt;
                                      &lt;version&gt;7.0&lt;/version&gt;
                                      &lt;type&gt;jar&lt;/type&gt;
                                  &lt;/artifactItem&gt;
                              &lt;/artifactItems&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3-SNAPSHOT&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;url&gt;http://localhost:8080/manager/text&lt;/url&gt;
                      &lt;username&gt;root&lt;/username&gt;
                      &lt;password&gt;cthulhu7&lt;/password&gt;
                  &lt;/configuration&gt;
              &lt;/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;1.2&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;hostedWebapp&gt;${project.build.directory}/${project.build.finalName}&lt;/hostedWebapp&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;remove-javax&lt;/id&gt;
                          &lt;phase&gt;compile&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;run&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;tasks&gt;
                          &lt;delete dir="${project.build.directory}/classes/javax"/&gt;
                      &lt;/tasks&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Sorry for the extent of the "question". These "java+maven+frameworks" stuff get quite messy.</p>