title: GWT Package structure issue - Module has no entry points defined
body: <p>I do not thave the experiance in gwt and migrating one of the gwt project ant to maven for devops migration.</p>
  
  <p>in ant build it is working fine.</p>
  
  <p>but when i use maven with gwt-maven-plugin to generate the code getting below error.</p>
  
  <blockquote>
    <p>[DEBUG]   Found class:class com.google.gwt.dev.GWTCompile
    [INFO] Compile GWT module com.companyname.projectname.branch.gwt.Dto
    [DEBUG] invoke GWTCompiler#main(String[])
    [ERROR] Module has no entry points defined
    [ERROR] Build failed</p>
  </blockquote>
  
  <p>this is the sampe structure</p>
  
  <p><a href="https://i.stack.imgur.com/4ZO88.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ZO88.png" alt="enter image description here"></a></p>
  
  <p>main module xml</p>
  
  <pre><code>&lt;module&gt;
  &lt;inherits name='com.google.gwt.user.User' /&gt;
  &lt;inherits name='com.google.gwt.i18n.I18N' /&gt;
  &lt;inherits name='com.google.gwt.http.HTTP' /&gt;
  &lt;inherits name='com.companyname.projectname.branch.gwt.Dto' /&gt;
  &lt;inherits name='com.companyname.projectname.commons.Commons' /&gt;
  
  
  &lt;servlet path="/projectnamePLServicesImpl"
      class="com.companyname.projectname.pr.gwt.server.projectnamePLServicesImpl" /&gt;
  
  &lt;entry-point class='com.companyname.projectname.ui.gwt.client.MainModule' /&gt;
  </code></pre>
  
  <p></p>
  
  <p>dto xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;module&gt;
  &lt;inherits name='com.google.gwt.user.User' /&gt;
  &lt;inherits name='com.google.gwt.i18n.I18N' /&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>and maven plugin</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&gt;1.0&lt;/version&gt;
                &lt;configuration&gt;
                  &lt;moduleName&gt;com.companyname.projectname.ui.gwt.client.MainModule&lt;/moduleName&gt;
  
  
                  &lt;!-- &lt;logLevel&gt;&lt;/logLevel&gt; --&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
        &lt;execution&gt;
  
          &lt;goals&gt;
            &lt;goal&gt;compile&lt;/goal&gt;
          &lt;/goals&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
  </code></pre>