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

Reply via email to