title: Maven GWT module breaks with GWT 2.8.2 + Java 11
body: <p>I have a maven artifact which has code for a GWT module.  The contents of the <code>GwtModule.gwt.xml</code> file are (in summary):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;module rename-to='mygwtmodule'&gt;
      &lt;!-- Inherit the core Web Toolkit stuff. --&gt;
      &lt;inherits name='com.google.gwt.user.User' /&gt;
  
      &lt;!-- Other module inherits go here --&gt;
  
      &lt;!-- Specify the paths for translatable code --&gt;
      &lt;source path='client' /&gt;
      &lt;source path='shared' /&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>The <code>gwt.xml</code> file is in <code>src/main/java/my/module</code>, and the entrypoint which implements <code>com.google.gwt.core.client.EntryPoint</code> is in <code>src/main/java/my/module/client/MyModule.java</code>.</p>
  
  <p>I then use this code in a servlet project, importing the other artifact as one of my <code>&lt;dependencies&gt;</code>.  The servlet project has a <code>src/main/resources/my/webapp/GwtWebapp.gwt.xml</code> file, which contains only:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;module rename-to='myservlet'&gt;
      &lt;inherits name='my.module.GwtModule' /&gt;
  
      &lt;!-- Specify the app entry point class. --&gt;
      &lt;entry-point class='my.module.client.MyModule' /&gt;
  &lt;/module&gt;
  
  </code></pre>
  
  <p>And this configuration has worked fine for years, using both 2.7.0 and 2.8.0 versions of GWT and the corresponding maven plugin.</p>
  
  <p>But now I've upgraded to Java 11, which requires the Maven GWT 2.8.2 plugin, and all of a sudden it fails.  Changing only the GWT version to <code>2.8.2</code> in both project, running <code>mvn install</code> on the GWT module, and running <code>mvn gwt:compile</code> in the servlet project gives me:</p>
  
  <pre><code>.
  .
  [INFO] Compiling module my.webapp.GwtWebapp
  [INFO]    Ignored 1 unit with compilation errors in first pass.
  [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
  [INFO]    Finding entry point classes
  [INFO]       [ERROR] Hint: Check that the type name 'my.module.client.MyModule' is really what you meant
  [INFO]       [ERROR] Hint: Check that your classpath includes all required source roots
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  .
  .
  </code></pre>
  
  <p>Any help identifying the root of this issue would be much appreciated.</p>