Hi, I find that it is because the parent pom.xml has a dependency on 3.6.10.Final on dependencyManagement.
Rice On Sun, Jul 1, 2012 at 8:25 PM, Rice Yeh <[email protected]> wrote: > Hi, > I have a project who has a dependency on hibernate-entitiymanager > 4.1.4.Final, which has a dependency on hibernate-core 4.1.4.Final also. > However, when using eclipse:eclipse or denpendency:tree to see the > transitional gotten hibernate-core is 3.6.10.Final as shown in the > following. What is going wrong? > > [INFO] xs:xs-persistence-jpd2:jar:1.5.0-SNAPSHOT > [INFO] \- org.hibernate:hibernate-entitymanager:jar:4.1.4.Final:compile > [INFO] +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile > [INFO] +- org.hibernate:hibernate-core:jar:3.6.10.Final:compile > (version managed from 4.1.4.Final) > [INFO] | +- antlr:antlr:jar:2.7.6:compile > [INFO] | +- commons-collections:commons-collections:jar:3.1:compile > [INFO] | +- > org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile > [INFO] | +- javax.transaction:jta:jar:1.1:compile > [INFO] | \- org.slf4j:slf4j-api:jar:1.6.4:compile > [INFO] +- > org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile > [INFO] +- dom4j:dom4j:jar:1.6.1:compile > [INFO] +- > org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile > [INFO] +- org.javassist:javassist:jar:3.15.0-GA:compile > [INFO] \- > org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile > > Rice >
