I recently tried upgrading hibernate-annotations from 3.2.1.ga to 3.3.0.ga in a Maven 2 environment. This caused the following error:
Adding the following dependency to my pom.xml fixes the problem:
Shouldn't hibernate-commons-annotations be a declared dependency in the hibernate-annotations pom.xml so transitive dependencies resolves this?
I found a similar issue when upgrading hibernate-entitymanager from 3.2.1.ga to 3.3.1.ga. The 3.3.1.ga has a dependency on jboss-common-core, but this JAR is not located in a central repository.
The first issue seems easy enough to fix. The 2nd requires uploading the new dependency. I can enter issues in JIRA for these if you like.