Hello,
We're working on a large scale project with GWT and Maven as it's build system
For every application sub system, we've created a separated GWT module.
Each module, is a simple jar with gwt module xml with the following maven config (for example):
<artifactId>events</artifactId>
<packaging>jar</packaging>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>i18n</goal>
</goals>
</execution>
</executions>
<configuration>
<i18nMessagesBundles>
...
</i18nMessagesBundles>
</configuration>
</plugin>
</plugins>
</build>
There is also one central module that contains the EntryPoint and depends on the other modules.
I have a problem, every time I try to compile an application module with i18n goal, I get an error, duplicate class, which relates to a Message interface (I get an error for each Message interface in that module).
Am I doing something wrong? should the i18n goal be activated in the application module?
Thank you,
Gilad