initialize console configuration with the appropriate hibernate version
add hibernate-entitymanager and jandex to dependencies
use org.hibernate.jpa.HibernatePersistenceProvider instead of org.hibernate.ejb.Ejb3Configuration