My module contains some non java files along the java source files. When the module is built, the java files are copied to the bin folder (and included in the jar artifact),
Settings
(Preferences
on Mac) | Compiler
| Resource Patterns.
This question duplicates/relates to: