I'm starting to work with Hibernate a little and seem to have an issue with the Hibernate config not being included when I build and run the app. I'm having to copy the config over to the ./target/classes/ directory manually to get it to run.
The project was created using a maven-archetype-quickstart Maven archetype. My Hibernate config was named hibernate.cfg.xml and placed under the Java directory, which was marked as the sources root.
Should this file be included in the build? Is there a setting that I need to configure to get IntelliJ to copy this file over correctly?