define a gwt.xml module file in your core project and use the gwt-maven-plugin to genrate code inside this module, not outside.
Then, from other modules inherit from core.gwt.xml 2010/2/4 Cédric Thiébault <cedric.thieba...@gmail.com> > Hi, > > I'm using gwt-maven-plugin to generate my Message interface (using > gwt:i18n). > My properties file is located in the "core" module of a multi-module > project: > . > |-- core > | `-- src/main/resources/Labels.properties > | `-- pom.xml > |-- gwt > | `-- pom.xml > `-- parent > `-- pom.xml > > The gwt module depends on the core module. > > Here is my configuration in the "gwt" module: > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>gwt-maven-plugin</artifactId> > [...] > <configuration> > <i18nMessagesBundle>Labels</i18nMessagesBundle> > </configuration> > </plugin> > > When I execute gwt:i18n, I have the following error: "Properties file not > found". > This is because the properties file is not in the current module but in an > imported jar (core.jar from core module). > > Is there a way to generate Message interfaces with gwt:i18n using a > properties file defined in an other module? > > Thanks for your help. > > Cedric >