Hi,
1- Some time ago it was announced that hibernate-core now also contains hibernate-entitymanager and this deprecates the compatibility matrix once we had to consult to manage our Hibernate dependencies.
However some time ago Hibernate Core 3.6.5.Final was released, but apparently it does not exist in the Maven repo as the following Maven configuration is not able to resolve it for me:
Code:
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.6.5.Final</version>
<exclusions>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
2- What's the right way to declare a dependency on hibernate-entitymanager anyway? Why cglib must be excluded always? I know that Hibernate has adopted Javassist as the main byte code enhancer lately but then why is there always a dependency on cglib that cannot be resolved? And where in the docs is this pointed to that we have to exclude the cglib dependency if we want to use Javassist?
Thanks in advance.