Hi Bryan,

I recently configured JpaTicketRegistry and it took me a while to figure out 
the dependencies as well. I am attaching the POM file that I finally built and 
it worked. Hope this helps

My pom file refers to other dependencies related to war overlay and stuff. You 
might want to use only the dependencies you need for your ticket registry 
configuration.

Thanks
Madhavi
-- 
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
<project xmlns="http://maven.apache.org/POM/4.0.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
 
  <modelVersion>4.0.0</modelVersion>
  <groupId>tsys.cas</groupId>
  <artifactId>local-cas</artifactId>
  <version>${cas.version}</version>
  <packaging>war</packaging>
  <name>TSYS-LOCAL-CAS</name>
  
  
  <build>
	<plugins>
		<plugin>
		     <artifactId>maven-war-plugin</artifactId>
             <configuration>
                 <warName>cas</warName>
             </configuration>
             <version>2.1.1</version>
		</plugin>
		
		  <plugin>
		      <groupId>org.codehaus.mojo</groupId>
		      <artifactId>tomcat-maven-plugin</artifactId>
		      <version>1.1</version>
		      <configuration>
		               <server>anytomcat</server>
		               <warFile>target/cas.war</warFile>
		               <path>/cas</path>
					   <url>http://cas-ser.tsys.tss.net:8020/manager</url>	               
		      </configuration>
		  </plugin>		
		  
	</plugins>
  </build>
 
  <dependencies>
      <dependency>
          <groupId>org.jasig.cas</groupId>
          <artifactId>cas-server-webapp</artifactId>
          <version>${cas.version}</version>
          <type>war</type>
          <scope>runtime</scope>
      </dependency>
	  <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-support-generic</artifactId>
            <version>${cas.version}</version>
            <type>jar</type>
            <scope>runtime</scope>
      </dependency>      
	  <dependency>
            <groupId>org.jasig.cas</groupId>
            <artifactId>cas-server-support-ldap</artifactId>
            <version>${cas.version}</version>
            <type>jar</type>
            <scope>runtime</scope>
      </dependency>      
      <dependency>
    		<groupId>tsys.cas.custom</groupId>
    		<artifactId>tsys-cas-DbAuth-support</artifactId>
    		<version>${project.version}</version>
    		<scope>runtime</scope>
	  </dependency>
	  
<!-- persistence tickets in db for CAS -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>3.5.0-CR-2</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>4.0.2.GA</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.12</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>commons-pool</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.5.4</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.3</version>
            <scope>runtime</scope>
        </dependency>
        
        
<!--dependency>
	<groupId>c3p0</groupId>
	<artifactId>c3p0</artifactId>
	<version>0.9.1.2</version>
	<scope>runtime</scope>
</dependency -->	
	  
</dependencies>


 
   <properties>
       <cas.version>3.4.8</cas.version>
   </properties>
 
   <repositories>
        <repository>
             <id>ja-sig</id>
             <url>https://source.jasig.org/cas3/tags/cas-server-3.4.8/</url>
        </repository>
   </repositories>
  
  
</project>

Reply via email to