Reslet Integration and cglib-all

Description

Hello, I'am new spanish CAS developer user

I think that the cas-server-webapp module 3.5.1 is incompatible with the cas-server-integration-restlet because dependency net.sf.spring-json::spring-json imports the cglib::cglib-all dependency already added by the cas-server-integration-restlet with jar cglib::cglib-nodep

This is a bug or it is an improvement that need configure when import the restlet integration dependency adding a exclude to overlay/dependency???

Using webapp overlay...

<overlays>
<overlay>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-webapp</artifactId>
<excludes>
<exclude>WEB-INF/lib/cglib-full-*.jar</exclude>
</excludes>
</overlay>
</overlays>

If you are extending cas core, that is my situation I add....

<dependency>
<groupId>net.sf.spring-json</groupId>
<artifactId>spring-json</artifactId>
<version>1.3.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>net.sf.sojo</groupId>
<artifactId>sojo-optional</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</exclusion>
<exclusion>
<groupId>cglib</groupId>
<artifactId>cglib-full</artifactId>
</exclusion>
</exclusions>
</dependency>

or is better exclude cglib::cglib-nodep dependency included by cas-server-integration-restlet???

Environment

None

Status

Assignee

Marvin Addison

Reporter

David Ordás

Estimated End Date

None

Audience

None

Fix versions

Affects versions

3.5.1

Priority

Minor