> On 12 Oct 2016, at 10:29, Luca Morettoni <l...@morettoni.net> wrote:
> Hi all, currently my application is using a single module for the GWT code, 
> but I’d like to split it in some submodules to better organize the code.
> Everything is under maven and I organised the main project layout using 
> Thomas Broyer gwt-maven-archetypes [1], so now I have a main maven project 
> and its 3 submodules (client, shared and server): my goal is to have the 
> client submodule that will use the new GWT-submodules, but which is the best 
> approach?
> [1]https://github.com/tbroyer/gwt-maven-archetypes 
> <https://github.com/tbroyer/gwt-maven-archetypes>
I think I found a reasonable solution to my problem adding a maven submodule, 
and in the main pom.xml I just added this:


in the "App-client” pom.xml (this is the main GWT app) I just added:

    <artifactId> App-module-user</artifactId>

and last this is the pom.xml file for the App-module-user:

<project xmlns="http://maven.apache.org/POM/4.0.0"; 




            <artifactId> App-shared</artifactId>

        <!-- tests dependencies -->



Hope this may help others!
A special Thanks to Thomas for the FANTASTIC plugin!!!

Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/   | http://twitter.com/morettoni

You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to