Created
January 25, 2012 21:31
-
-
Save frostbytten/1678860 to your computer and use it in GitHub Desktop.
Initial CAS Overlay with jetty-maven-plugin
This file contains 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>{your groupId here}</groupId> | |
<artifactId>local-cas</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-war-plugin</artifactId> | |
<version>2.1.1</version> | |
<configuration> | |
<warName>cas</warName> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>8.1.0.RC5</version> | |
<configuration> | |
<webAppConfig> | |
<contextPath>/</contextPath> | |
</webAppConfig> | |
<war>${project.build.directory}/cas.war</war> | |
<scanIntervalSeconds>3</scanIntervalSeconds> | |
</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> | |
</dependencies> | |
<properties> | |
<cas.version>3.4.11</cas.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<repositories> | |
<repository> | |
<id>ja-sig</id> | |
<url>http://oss.sonatype.org/content/repositories/releases/ </url> | |
</repository> | |
</repositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment