I\'m trying to build an implementation agnostic maven module which relies on JPA2. Unfortunately, the only Maven JPA dependency is JPA1 based, and consequently, I cannot us
This are the most relevant and official API for JPA2 from EclipseLink:
http://download.eclipse.org/rt/eclipselink/maven.repo/
eclipselink
default
Repository for library EclipseLink (JPA 2.0)
org.eclipse.persistence
javax.persistence
2.0.3
provided
Unlike Hibernates API this are from official specification and support better generics when it comes to use Criteria API.