I have a project with two web modules. One module requires class files of the other module and therefore has this module added as module dependency. Both modules are configured as exploded web directories that point to the local svn checkout, hence 'synchronize exploded directory' is disabled. The output directory is configured to point to WEB-INF/classes of the exploded directory structure.
However, if I define the packaging method of the module added as dependency as 'include module in build' under Web Module Settings, IDEA will not only copy the class files to my module's output directory but also all web resources. When changing the packaging method to 'do not package' IDEA will copy neither resources nor class files.
Is there a possibility to let IDEA only copy the class files and ignore other web resources.
Thx for any suggestions!