Change hibernate dependency to be provided by the application.
Make hibernate a packaged dependency.
Make sure wildfly runs with the provided Hibernate libraries.

(Still need to test this on EAP)