I\'m trying to add constraints checking, as described here How to specify the cardinality of a @OneToMany in EclipseLink/JPA
Here are the dependencies I'm using (with Maven):
javax.validation validation-api 1.0.0.GA org.hibernate hibernate-validator 4.0.2.GA
That you can get from this repository:
jboss JBoss repository http://repository.jboss.org/maven2