I had originally used 3.3.5 for the version and it was not able to locate the dependency. The extract I included below was an exact cut & paste from the jasig guide for setting up jdbc authentication.
Regards, Lance From: [email protected] [mailto:[email protected]] Sent: Friday, January 22, 2010 12:20 PM To: [email protected] Subject: Re: [cas-user] JDBC authentication You can only use project.version if you're extending the cas pom. Otherwise put in the version you want. Cheers Scott Sent from my Verizon Wireless BlackBerry _____ From: Lance Hill <[email protected]> Date: Fri, 22 Jan 2010 12:10:05 -0500 To: <[email protected]> Subject: RE: [cas-user] JDBC authentication Thanks Scott. Adding that repository did not resolve the issue, but it allowed me to rule out the possibility of the jar not being present in the repository. The original dependency I used was cut and pasted from the example at http://www.ja-sig.org/wiki/display/CASUM/JDBC <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-support-jdbc</artifactId> <version>${project.version}</version> </dependency> As soon as I changed that dependency specification to <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-support-jdbc</artifactId> <version>${cas.version}</version> <type>jar</type> <scope>runtime</scope> </dependency> the build succeeded. I suspect it was the addition of the type specification that made the difference. Hope this helps anyone running into a similar problem. Regards, Lance From: Scott Battaglia [mailto:[email protected]] Sent: Friday, January 22, 2010 11:16 AM To: [email protected] Subject: Re: [cas-user] JDBC authentication It should be in the Jasig Maven2 Repository: http://developer.jasig.org/repo/content/groups/m2-legacy/org/jasig/cas/cas-s erver-support-jdbc/ Cheers, Scott On Fri, Jan 22, 2010 at 11:04 AM, Lance <[email protected]> wrote: I managed to successfully set up CAS for the basic text based authentication. When I updated the POM file to use <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-support-jdbc</artifactId> <version>${project.version}</version> </dependency> in order to play with the JDBC authentication, my maven build process fails to find the dependency shown above. Do I need to set up the cas-server-support-jdbc jar in my own repository? Does someone have an address for a repository that already holds this dependency? -- 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 -- 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 -- 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
