Trying to check this, I'm getting even more confused. I created a fresh project to get rid of all other repositories and possible side effects.
Using the jboss repo only, this dependency:
Code:
<dependency>
<groupId>hibernate-entitymanager</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.2.1.GA</version>
</dependency>
doesn't even declare any dependencies on hibernate whatsoever!
Also, there is no entitymanager artifact with the 'org.hibernate' groupId which I guess should be the correct one. I double-checked the hibernate-annotations artifact, it's the same scenario.
It seems these files were put into the jboss maven2 repo around May, so I guess there is a correct way of doing that (of which I'm unaware of..)?