Friday, June 24, 2016

Re: Adding Java modules as dependencies in GWT Maven project with plugin 2.7.0

GWT also needs source files so you need to add a second dependency to the source artifact using <classifier>sources</classifier>.

You also need a GWT module for your common project and inherit it in your 2nd project's GWT module. Otherwise GWT compiler will not see the code of your common project. The common.gwt.xml file does not have to be bundled in the common artifact, it just needs to be on classpath (e.g. you can place it into your 2nd project's source/resource directory)

-- J.

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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment