I do not thave the experiance in gwt and migrating one of the gwt project ant to maven for devops migration.
in ant build it is working fine.
but when i use maven with gwt-maven-plugin to generate the code getting below error.
[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
this is the sampe structure
main module xml
<module>
<inherits name='com.google.gwt.user.User' />
<inherits name='com.google.gwt.i18n.I18N' />
<inherits name='com.google.gwt.http.HTTP' />
<inherits name='com.companyname.projectname.branch.gwt.Dto' />
<inherits name='com.companyname.projectname.commons.Commons' />
<servlet path="/projectnamePLServicesImpl"
class="com.companyname.projectname.pr.gwt.server.projectnamePLServicesImpl" />
<entry-point class='com.companyname.projectname.ui.gwt.client.MainModule' />
dto xml
<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name='com.google.gwt.user.User' />
<inherits name='com.google.gwt.i18n.I18N' />
</module>
and maven plugin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<moduleName>com.companyname.projectname.ui.gwt.client.MainModule</moduleName>
<!-- <logLevel></logLevel> -->
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
