Класс o.h.a.c.r.MetadataProvider
предоставляется hibernate-commons-annotations
, а версия, которую я получаю транзитивно с Hibernate 3.5.6-Final
, является версией 3.2.0.Final
. На всякий случай, вот отфильтрованное дерево зависимостей проекта для питомца:
$ mvn dependency:tree -Dincludes=org.hibernate:::
[INFO] Scanning for projects...
...
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ domain ---
[INFO] com.acme.samples.javaee6.domain:domain:jar:1.0-SNAPSHOT
[INFO] +- org.hibernate:hibernate-validator:jar:4.0.2.GA:runtime
[INFO] +- org.hibernate:hibernate-entitymanager:jar:3.5.6-Final:compile
[INFO] | +- org.hibernate:hibernate-core:jar:3.5.6-Final:compile
[INFO] | \- org.hibernate:hibernate-annotations:jar:3.5.6-Final:compile
<b>[INFO] | \- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile</b>
[INFO] +- org.hibernate:hibernate-jpamodelgen:jar:1.1.0.CR1:compile
[INFO] \- org.hibernate:hibernate-ehcache:jar:3.5.6-Final:compile
[INFO] ------------------------------------------------------------------------