Is it ok to take it from Glassfish project ( glassfish-persistence-api) or may be there is a Hibernate jar?
For JPA 2.1 the javax.persistence package can be found in here:
org.hibernate.javax.persistence
hibernate-jpa-2.1-api
1.0.0.Final
See: hibernate-jpa-2.1-api on Maven Central The pattern seems to be to change the artefact name as the JPA version changes. If this continues new versions can be expected to arrive in Maven Central here: Hibernate JPA versions
The above JPA 2.1 APi can be used in conjunction with Hibernate 4.3.7, specifically:
org.hibernate
hibernate-entitymanager
4.3.7.Final