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
As of today, I think the most up to date one is:
                                          
    org.hibernate.javax.persistence 
    hibernate-jpa-2.1-api     
    1.0.0.Final                     
 
This is how you can use JPA in a maven:
    org.hibernate.javax.persistence 
    hibernate-jpa-2.1-api 
    1.0.0.Final 
    compile 
 
    javax.transaction 
    javax.transaction-api 
    1.2 
    compile 
 
    org.hibernate 
    hibernate-entitymanager 
    4.3.10.Final 
    runtime 
    
        
            org.hibernate.javax.persistence 
            hibernate-jpa-2.1-api 
         
        
            org.jboss.spec.javax.transaction 
            jboss-transaction-api_1.2_spec 
         
        
            xml-apis 
            xml-apis 
         
        
            org.jboss.logging 
            jboss-logging