Okay, I seem to have stumbled into the same situation as before (I think) [
CAS-850 <https://issues.jasig.org/browse/CAS-850>].
I tried to enable the RESTful API and I'm getting multiple spring jars in
the overlay build.
If I remember correctly, changes were made to the module poms.
Attached: pom.xml and mvn dependency:tree output
[INFO] [dependency:tree {execution: default-cli}]
[INFO] edu.csuchico.cas:local-cas:war:1.0-SNAPSHOT
[INFO] +- org.jasig.cas:cas-server-webapp:war:3.4.2:runtime
[INFO] +- org.jasig.cas:cas-server-support-ldap:jar:3.4.2:runtime
[INFO] | +-
org.springframework.ldap:spring-ldap-core:jar:1.3.0.RELEASE:runtime
[INFO] | +-
org.springframework.ldap:spring-ldap-core-tiger:jar:1.3.0.RELEASE:runtime
[INFO] | \- org.slf4j:slf4j-log4j12:jar:1.5.8:runtime
[INFO] +- log4j:apache-log4j-extras:jar:1.0:compile
[INFO] | \- log4j:log4j:jar:1.2.9:compile
[INFO] \- org.jasig.cas:cas-server-integration-restlet:jar:3.4.2:compile
[INFO] +- org.jasig.cas:cas-server-core:jar:3.4.2:compile
[INFO] | +- com.github.inspektr:inspektr-audit:jar:1.0.0.GA:compile
[INFO] | | \- com.github.inspektr:inspektr-common:jar:1.0.0.GA:compile
[INFO] | +-
org.jasig.service:person-directory-impl:jar:1.5.0-RC6:compile
[INFO] | | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile
[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.1:compile
[INFO] | | | +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | +- commons-lang:commons-lang:jar:2.1:compile
[INFO] | | \-
org.jasig.service:person-directory-api:jar:1.5.0-RC6:compile
[INFO] | +- commons-codec:commons-codec:jar:1.4:compile
[INFO] | +- jdom:jdom:jar:1.0:compile
[INFO] | +- org.springframework:spring-orm:jar:3.0.1.RELEASE:compile
[INFO] | +- org.springframework:spring-jdbc:jar:3.0.1.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:3.0.1.RELEASE:compile
[INFO] | | \- org.springframework:spring-asm:jar:3.0.1.RELEASE:compile
[INFO] | +- org.springframework:spring-webmvc:jar:3.0.1.RELEASE:compile
[INFO] | | +-
org.springframework:spring-expression:jar:3.0.1.RELEASE:compile
[INFO] | | \- org.springframework:spring-web:jar:2.5:compile
[INFO] | +-
org.springframework:spring-context-support:jar:3.0.1.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:3.0.1.RELEASE:compile
[INFO] | | \- org.springframework:spring-aop:jar:3.0.1.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:3.0.1.RELEASE:compile
[INFO] | +- org.hibernate:hibernate-annotations:jar:3.5.0-CR-2:compile
[INFO] | | +- org.hibernate:hibernate-core:jar:3.5.0-CR-2:compile
[INFO] | | | +- antlr:antlr:jar:2.7.6:compile
[INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | | | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] | | | \- javax.transaction:jta:jar:1.1:compile
[INFO] | | +-
org.hibernate:hibernate-commons-annotations:jar:3.2.0.Beta1:compile
[INFO] | | \-
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0-CR-1:compile
[INFO] | +- org.apache.santuario:xmlsec:jar:1.4.3:runtime
[INFO] | +- org.opensaml:opensaml:jar:1.1b:compile
[INFO] | +- javax.xml:xmldsig:jar:1.0:compile
[INFO] | +- org.perf4j:perf4j:jar:log4jonly:0.9.12:compile
[INFO] | +-
org.springframework.webflow:spring-webflow:jar:2.0.8.RELEASE:compile
[INFO] | | +-
org.springframework.webflow:spring-binding:jar:2.0.8.RELEASE:compile
[INFO] | | \-
org.springframework.webflow:spring-js:jar:2.0.8.RELEASE:compile
[INFO] | \- commons-jexl:commons-jexl:jar:1.1:runtime
[INFO] | \- junit:junit:jar:3.8.1:runtime
[INFO] +- org.restlet:org.restlet:jar:1.1.1:compile
[INFO] +- org.restlet:org.restlet.ext.spring:jar:1.1.1:runtime
[INFO] +-
com.noelios.restlet:com.noelios.restlet.ext.spring:jar:1.1.1:runtime
[INFO] +-
com.noelios.restlet:com.noelios.restlet.ext.servlet:jar:1.1.1:runtime
[INFO] | +- com.noelios.restlet:com.noelios.restlet:jar:1.1.1:runtime
[INFO] | \- javax.servlet:servlet-api:jar:2.5:runtime
[INFO] +- cglib:cglib-nodep:jar:2.1_3:runtime
[INFO] +- org.springframework:spring-beans:jar:3.0.1.RELEASE:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.6.7:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.6.7:compile
[INFO] +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.5.8:compile
[INFO] \- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
--
"Do you speak Bocce?"
"Of course I can, sir. It's like a second language to me..."
--
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-dev<?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.csuchico.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>
<!-- prevent the default properties file and use the one from propertyFileConfigurer.xml instead -->
<exclude>WEB-INF/cas.properties</exclude>
<exclude>WEB-INF/classes/log4j.xml</exclude>
</excludes>
</overlay>
</overlays>
<!-- This section enables the cas.home property defined to be used in the propetyFileConfigurer.xml file -->
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>WEB-INF/spring-configuration/propertyFileConfigurer.xml</include>
<include>WEB-INF/cas-servlet.xml</include>
<include>WEB-INF/deployerConfigContext.xml</include>
<include>WEB-INF/web.xml</include>
</includes>
</resource>
</webResources>
</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>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-ldap</artifactId>
<version>${cas.version}</version>
<type>jar</type>
<scope>runtime</scope>
</dependency>
<!-- <dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
<scope>runtime</scope>
</dependency> -->
<dependency>
<groupId>log4j</groupId>
<artifactId>apache-log4j-extras</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-integration-restlet</artifactId>
<version>${cas.version}</version>
<type>jar</type>
</dependency>
</dependencies>
<properties>
<cas.version>3.4.2</cas.version>
<cas.config>/h/cas_config</cas.config>
</properties>
<repositories>
<repository>
<id>ja-sig</id>
<url>http://oss.sonatype.org/content/repositories/releases</url>
</repository>
<repository>
<id>mvnrepository</id>
<url>http://www.mvnrepository.com/artifacts/</url>
</repository>
</repositories>
</project>