GWT. Exclude shared domain objects to separate Maven module
        Posted  
        
            by 
                MyTitle
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by MyTitle
        
        
        
        Published on 2012-11-07T10:51:18Z
        Indexed on 
            2012/11/07
            11:00 UTC
        
        
        Read the original article
        Hit count: 204
        
I have some Domain classes such as  Student, User etc which are used on server and client (gwt) sides.  
Can I exclude this domain classes to separate maven-module, so I can add this module as dependency to other maven-modules (i.e. add this module as dependency to maven-module which contains gwt related stuff, so this domain classes will be generated to JavaScript, and add this module as dependency to "normal" (not gwt) Java maven-modules, so this domain classes won’t be generated to JavaScript)?
© Stack Overflow or respective owner