All,On a project I am doing I need to build an implementation-specific version of CAS server 3.3.1. I am trying to use a Maven war overlay method in which I only need to supply the files to add or replace in cas.war in the JA-SIG Maven repository. This should make future CAS server upgrades trivially simple.
I am not much of a Maven expert, so I am likely missing some option. The war file built by Maven ends up with both spring-beans-2.0.7.jar and spring-beans-2.5.6.jar as well as spring-core-2.0.7.jar and spring-core-2.5.6.jar.
I've attached my pom.xml in case someone can spot my error. Thanks, Adam
<?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/maven-v4_0_0.xsd"> <parent> <groupId>org.jasig.cas</groupId> <artifactId>cas-server</artifactId> <version>3.3.1</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>net.unicon</groupId> <artifactId>cas</artifactId> <packaging>war</packaging> <version>1.0</version> <repositories> <repository> <id>ja-sig</id> <url>http://developer.ja-sig.org/maven2/</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <warName>cas</warName> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.jasig.cas</groupId> <artifactId>cas-server-webapp</artifactId> <version>3.3.1</version> <type>war</type> <scope>runtime</scope> </dependency> </dependencies> </project>
begin:vcard fn:Adam Rybicki n:Rybicki;Adam org:Unicon, Inc.;Professional Services adr:Suite 113;;3140 North Arizona Avenue;Chandler;AZ;85225;United States email;internet:[email protected] tel;work:+1-480-558-2400 tel;home:+1-310-265-8286 tel;cell:+1-310-980-2758 x-mozilla-html:FALSE url:http://www.unicon.net/ version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ cas-dev mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas-dev
