If dependencies are required to enable and "optional" feature like what you have below, I (and this is just me) would start out with the latest available version, and will then attempt to resolve class-not-found type of messages, if any. " http://grepcode.com/ " is a pretty good tool in terms of figuring out what JARs you'd need. You'd also want to make sure that you dont end up with duplicate JARs as certain dependencies make require different versions of the same library.
-Misagh ----- Original Message ----- From: "Jason Whitener" <[email protected]> To: [email protected] Sent: Thursday, October 17, 2013 2:33:38 PM Subject: Re:[cas-user] Maven hibernate version I found an example pom.xml from some blog, and version 4.1 worked. In general though, where can one find dependency info? Like on this maven site, http://mvnrepository.com/artifact/org.jasig.cas/cas-server-webapp/3.5.2 , hibernate versions are missing. On Thu, Oct 17, 2013 at 1:45 PM, Jason Whitener < [email protected] > wrote: Tl;dr Does anyone know what version of hibernate-core and hibernate-entity manager to use with CAS 3.5.2? Long version I'm following this documentation https://wiki.jasig.org/display/CASUM/Configuring in order to set up MySQL as the service management db. This is using CAS 3.5.2. When I put the hibernate dependencies in my pom.xml file and 'mvn clean package' I get errors about missing dependency versions: "'dependencies.dependency.version' for org.hibernate:hibernate-core:jar is missing" So I assume that the documentation at https://wiki.jasig.org/display/CASUM/Configuring is incorrect and I must specify a version of hibernate. The war file builds without maven errors if I put in a version from http://mvnrepository.com/artifact/org.hibernate/hibernate-core , but then CAS breaks with errors about incompatible classes. The other noticeable difference between the documentation and my set up, is that my deployerConfigContext.xml file that came with 3.5.2 has references to spring-beans-3.1.xsd in the schema at the top, whereas the documentation has spring 2.0 stuff. In general, how does one determine which versions of all these parts belong together? Jason -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
