Skip to content

Instantly share code, notes, and snippets.

@subhogue
Created September 27, 2017 18:26
Show Gist options
  • Save subhogue/a2919783054dacc6906fedde7fa9d4e5 to your computer and use it in GitHub Desktop.
Save subhogue/a2919783054dacc6906fedde7fa9d4e5 to your computer and use it in GitHub Desktop.
current cas.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 ">
<modelVersion>4.0.0</modelVersion>
<!--<groupId>org.jasig.cas</groupId>-->
<groupId>org.apereo.cas</groupId>
<artifactId>src-cas</artifactId>
<packaging>war</packaging>
<version>1.0.0</version>
<build>
<plugins>
<plugin>
<groupId>org.jboss.tattletale</groupId>
<artifactId>tattletale-maven</artifactId>
<!-- The version of the plugin you want to use -->
<version>1.1.0.Final</version>
<executions>
<execution>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- This is the location which will be scanned for generating tattletale reports
-->
<source>C:\Users\dhogue\Documents\src-core-cas-5_1\bUp\cas-overlay-template\target\cas\WEB-INF\lib</source>
<!-- This is where the reports will be generated -->
<destination>C:\Users\dhogue\Documents\src-core-cas-5_1\bUp\cas-overlay-template\target\reports</destination>
</configuration>
</plugin>
<plugin>
<groupId>com.rimerosolutions.maven.plugins</groupId>
<artifactId>wrapper-maven-plugin</artifactId>
<version>0.0.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warName>cas</warName>
<overlays>
<overlay>
<groupId>org.apereo.cas</groupId> <!--<groupId>org.jasig.cas</groupId>-->
<artifactId>cas-server-webapp-tomcat</artifactId> <!--<artifactId>cas-server-webapp</artifactId>-->
<excludes>
<exclude>WEB-INF/cas.properties</exclude>
<exclude>WEB-INF/classes/log4j2.xml</exclude>
</excludes>
</overlay>
</overlays>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source> <!--<source>1.7</source>-->
<target>1.8</target> <!--<target>1.7</target>-->
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${maven-jetty-plugin.version}</version>
<configuration>
<jettyXml>${basedir}/etc/jetty/jetty.xml,${basedir}/etc/jetty/jetty-ssl.xml,${basedir}/etc/jetty/jetty-https.xml</jettyXml>
<systemProperties>
<systemProperty>
<name>org.eclipse.jetty.annotations.maxWait</name>
<value>240</value>
</systemProperty>
</systemProperties>
<webApp>
<contextPath>/cas</contextPath>
<overrideDescriptor>${basedir}/etc/jetty/web.xml</overrideDescriptor>
</webApp>
<webAppConfig>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webAppConfig>
<jvmArgs>-Dlog4j.configurationFile=/etc/log4j2.xml -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n</jvmArgs>
<!--<jvmArgs>-Dlog4j.configurationFile=/etc/cas/log4j2.xml -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,server=y,suspend=n</jvmArgs>
--> </configuration>
</plugin>
</plugins>
<finalName>cas</finalName>
</build>
<dependencies>
<!--THIS IS ISSUE-->
<dependency>
<groupId>org.apereo.cas</groupId> <!-- <groupId>org.jasig.cas</groupId> -->
<artifactId>cas-server-webapp-tomcat</artifactId> <!-- <artifactId>cas-server-webapp</artifactId> -->
<version>${cas.version}</version> <!-- <version>4.2.7</version> <version>${cas.version}</version> -->
<type>war</type>
<scope>runtime</scope>
</dependency>
<!--<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-jpa-service-registry</artifactId>
<version>${cas.version}</version>
</dependency>-->
<!--<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-jpa-ticket-registry</artifactId>
<version>${cas.version}</version>
</dependency>-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.39</version>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId> <!--<groupId>org.jasig.cas</groupId>-->
<artifactId>cas-server-support-saml</artifactId>
<version>${cas.version}</version><!--<version>4.2.7</version> 5.1.3 <version>${cas.version}</version>-->
</dependency>
<!--
<dependency>
<groupId>org.apereo.cas</groupId> <!-<groupId>org.jasig.cas</groupId>->
<artifactId>cas-server-support-generic</artifactId>
<version>${cas.version}</version> <!-<version>4.2.7</version>->
</dependency>
-->
<dependency>
<groupId>org.apereo.cas</groupId> <!--<groupId>org.jasig.cas</groupId>-->
<artifactId>cas-server-support-jdbc</artifactId>
<version>${cas.version}</version> <!--<version>4.2.7</version>-->
</dependency>
<!--
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
-->
<!--
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.1</version>
</dependency>
-->
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>org.ostermiller</groupId>
<artifactId>utils</artifactId>
<version>1.07.00</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-crypto</artifactId>
<version>4.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-http</artifactId>
<version>1.16</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<!-- <version>3.0.1</version> -->
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<!--added, need to check if actual needed-->
<!--
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-bom</artifactId>
<version>${cas.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
-->
</dependencies>
<properties>
<tomcat.version>8.5.14</tomcat.version><!--7.0.63-->
<cas.version>5.1.3</cas.version> <!--<cas.version>4.2.7</cas.version>-->
<maven-jetty-plugin.version>9.3.6.v20151106</maven-jetty-plugin.version>
<maven.compiler.source>1.8</maven.compiler.source> <!--<maven.compiler.source>1.7</maven.compiler.source>-->
<maven.compiler.target>1.8</maven.compiler.target> <!--<maven.compiler.target>1.7</maven.compiler.target>-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>sonatype-releases</id>
<url>http://oss.sonatype.org/content/repositories/releases/</url>
</repository>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<id>shibboleth-releases</id>
<url>https://build.shibboleth.net/nexus/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