add dependency on hibernate-entitymanager
add dependency for hibernate-jpa-2.1-api
export javax.persistence
export javax.persistence.spi
export org.hibernate.ejb
export org.hibernate.jpa and org.hibernate.ejb.packaging
export org.hibernate.jpa.boot.spi
use org.hibernate.type.StandardBasicTypes instead of org.hibernate.Hibernate