[hibernate-issues] [Hibernate-JIRA] Created: (HV-191) JPA 2 Dependency

Stephan Bublava (JIRA) noreply at atlassian.com
Mon Jul 27 07:52:12 EDT 2009


JPA 2 Dependency
----------------

                 Key: HV-191
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-191
             Project: Hibernate Validator
          Issue Type: Bug
    Affects Versions: 4.0.0.Beta2
            Reporter: Stephan Bublava


Hibernate Validator 4 Beta 2 depends on JPA 2. It would be great, if it remained compatible with version 1.

In addition the dependency is declared a using non-standard group and package name:

<groupId>org.hibernate.java-persistence</groupId>
<artifactId>jpa-api</artifactId>

instead of:

<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>

Somehow this breaks my build  - "mvn test" works, but "mvn site" fails with java.lang.NoSuchMethodError: javax.persistence.Persistence.getPersistenceUtil()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list