Looks like your getting closer
That exception looks like it wants you to use AnnotationConfiguration which is deprecated in the version of hiberate you are using. You are probably using Configuration which is what
you should be doing. The only thing I can think is one of the transitive dependencies are still being included by jboss and its not using what you have in your jar. Maybe rather than depending on
maven to bundle the transitive dependencies to hibernate-core explicitly define them and verify that each one is in your jar.