Classpath for project include

View: New views
1 Messages — Rating Filter:   Alert me  

Classpath for project include

by Mike Chaliy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again,
 
Module1 has dependencies on Module2. Both are GWT projects. Also I have parent project. Something like this:
 
Parent
-- Module1
-- Module1
-- Module3
 
When I execute "mvn package" on Parent, all sources compiled successfully (all dependencies is resolved). After that GWT compiler fails with:
 
[INFO] Loading module 'Module1'
[INFO]    Loading inherited module 'Module2'
[INFO]       [ERROR] Unable to find 'Module2.gwt.xml' on your classpath; could be a typo, or may
be you forgot to include a classpath entry for source?
[INFO]    [ERROR] Line 5: Unexpected exception while processing element 'inherits'
[INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
 
For some reasons it uses path related to module1, Parent\Module1\Module2.gwt.xml.
Is it possible that gwt-maven-plugin does not honor maven dependencies? Or may be how to configure classpath?
 
Sincerely yours, Mike Chaliy.