I have 3 modules: core, desktop, and web. In the project settings, I have core as a dependency in the web module. Also core is set to "Copy module output to" to WEB-INF/classes.
However I get all my classes from the desktop module as well including my hibernate configuration, which is for the desktop client, not the web server. Desktop is not selected as a dependency, nor is it configured to copy anything (best I can tell).
This DOES NOT happend if I set the Packaging Method to "JAR module output and copy file to".