Created
July 25, 2011 12:48
-
-
Save apetro/1104048 to your computer and use it in GitHub Desktop.
a random working CAS maven overlay for a project with both custom Java and additions / changes to the XML files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>edu.someone.cas</groupId> | |
| <artifactId>local-cas</artifactId> | |
| <packaging>war</packaging> | |
| <version>1.0-SNAPSHOT</version> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <configuration> | |
| <warName>cas</warName> | |
| <overlays> | |
| <overlay> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-server-webapp</artifactId> | |
| <excludes> | |
| <exclude>WEB-INF/lib/cas-client-core-3.1.10.jar</exclude> | |
| <exclude>WEB-INF/lib/jaxb-impl-2.1.3.jar</exclude> | |
| <exclude>WEB-INF/lib/commons-lang-2.4.jar</exclude> | |
| <exclude>WEB-INF/lib/javassist-3.7.ga.jar</exclude> | |
| </excludes> | |
| </overlay> | |
| <overlay> | |
| <groupId>org.jasig.cas3.extensions</groupId> | |
| <artifactId>clearpass-webapp</artifactId> | |
| <excludes> | |
| <exclude>WEB-INF/lib/cas-server-core-3.4.2.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-aop-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-asm-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-beans-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-binding-2.0.8.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-context-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-context-support-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-core-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-expression-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-jdbc-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-js-2.0.8.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-orm-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-tx-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-web-3.0.1.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-webflow-2.0.8.RELEASE.jar</exclude> | |
| <exclude>WEB-INF/lib/spring-webmvc-3.0.1.RELEASE.jar</exclude> | |
| </excludes> | |
| </overlay> | |
| </overlays> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <source>1.5</source> | |
| <target>1.5</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-server-webapp</artifactId> | |
| <version>${cas.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-client-core</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| <scope>runtime</scope> | |
| <type>war</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-server-core</artifactId> | |
| <version>3.4.3</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-server-support-ldap</artifactId> | |
| <version>${cas.version}</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.jasig.cas3.extensions</groupId> | |
| <artifactId>clearpass-webapp</artifactId> | |
| <version>1.0.5.GA</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.jasig.cas</groupId> | |
| <artifactId>cas-server-core</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| <scope>runtime</scope> | |
| <type>war</type> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-dbcp</groupId> | |
| <artifactId>commons-dbcp</artifactId> | |
| <version>1.4</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-entitymanager</artifactId> | |
| <version>3.5.0-CR-2</version> | |
| <scope>runtime</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>commons-collections</groupId> | |
| <artifactId>commons-collections</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>commons-lang</groupId> | |
| <artifactId>commons-lang</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>mysql</groupId> | |
| <artifactId>mysql-connector-java</artifactId> | |
| <version>5.1.13</version> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>servlet-api</artifactId> | |
| <version>2.5</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.7</version> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <properties> | |
| <cas.version>3.4.3</cas.version> | |
| </properties> | |
| <repositories> | |
| <repository> | |
| <id>ja-sig</id> | |
| <url>http://oss.sonatype.org/content/repositories/releases/</url> | |
| </repository> | |
| <repository> | |
| <id>JBoss</id> | |
| <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url> | |
| </repository> | |
| </repositories> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment