I've just been trying to do the same. I have
Downloaded 3.3.5
Modified the version numbers in the pom.xml to 3.4.2
Installed in my local Maven
At this point everything looks ok, I can see the .war created in the
repository, and it contains the correct Jars
Then I added the dependancy to my pom.xml
<dependency>
<groupId>ldap-pwd-expiration</groupId>
<artifactId>cas-server-support-ldap-pwd-expiration</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
I now build my project and get all the 3.3.5 jars (including old hibernate
and Spring Jars) included in my war.
I have never used Maven before, so I'm a bit lost at this point.
Previous to adding the ldap-pwd-expiration, I was still getting a few
duplicate Jars, I delete the older ones, and it works ok.
commons-lang-2.1.jar
commons-lang-2.4.jar
log4j-1.2.14.jar
log4j-1.2.15.jar
On a side note: I think the remember me install instructions need to be
updated for 3.4.2 (http://www.ja-sig.org/wiki/display/CASUM/Remember+Me)
The Modifications to the cas-servlet.xml no longer work, and no longer
seem to be needed.
Here is my entire pom
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server</artifactId>
<version>3.4.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>creata.cas</groupId>
<artifactId>local-cas</artifactId>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-webapp</artifactId>
<version>${project.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ldap-pwd-expiration</groupId>
<artifactId>cas-server-support-ldap-pwd-expiration</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.github.inspektr</groupId>
<artifactId>inspektr-support-spring</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-cas-client</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.opensymphony.quartz</groupId>
<artifactId>quartz</artifactId>
<version>1.6.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
<version>2.7.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warName>cas</warName>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>ja-sig</id>
<url>
http://oss.sonatype.org/content/repositories/releases/</url>
</repository>
<repository>
<id>mvnrepository - Public</id>
<url>http://download.java.net/maven/2</url>
</repository>
</repositories>
</project>
David Radtke
Software Development Team Leader
Creata - Sydney
From: Raymond D Walker <[email protected]>
To: [email protected]
Date: 20/04/2010 09:10 AM
Subject: Re: [cas-user] 3.4.2 and
cas-server-support-ldap-pwd-expiration
I am also interested in this functionality. From an initial look at
things, it seems as though there are some updates required for this module
to work with CAS 3.4.2
I'm currently hand massaging files to see if I can the module to work, but
any other info on this module's expected updates or other implementation
suggestions would be great.
Raymond Walker
Software Systems Engineer Sr.
ITS Northern Arizona University
On Apr 19, 2010, at 10:56 AM, Jeff Chapin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Does the module for cas 3.3.5 work with 3.4.2 on this module?
>
> Anyone have any experiences with this?
> - --
> Jeff Chapin,
> Assistant Systems/Applications Administrator
> ITS-IS, University of Northern Iowa
> Phone: 319-273-3162 Email: [email protected]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvMmToACgkQQiaEUfQoY7QuEwCdHMgDu/Wrt5Hi1XmvSS090Y8U
> rncAnRuZ/24lUUaAiZibDSBLqXfjvtAc
> =Pz/E
> -----END PGP SIGNATURE-----
>
> --
> 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