deleted crappy code
Added Hibernate plugin in build phase