[cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-19 Thread Jozef Kotlar - EEA.sk
Just to clear up - dependencies marked as *provided* should not be bundled to WAR, this classification specifies, that library will exist in target environment. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 -

Re: [cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-18 Thread Ganesh Prasad
Thanks, David. That's reassuring. I have another question. If I need to force the Maven build to use a later version of a library, how do I do it, given that I don't have control over the transitive dependencies of the build? For example, if I build CAS 5.3.4, the war file has 'spring-webmvc-p

Re: [cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-18 Thread David Curry
Ganesh, Our CAS 5.2.7 WAR file is 121MB with the following dependencies: cas-server-support-mongo-service-registry cas-server-support-ldap cas-server-support-saml cas-server-support-saml-idp cas-server-support-saml-googleapps cas-server-support-duo cas-server-support-mongo-ticket-registry We de

Re: [cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-18 Thread Ganesh Prasad
Thanks for your help, Andy, and sorry for troubling you again. I could remove all the other libraries below: tomcat-embed-core tomcat-embed-el jstl javax.inject servlet-api But when I removed tomcat-catalina, I got an error when Maven was about to build the war file: Failed to execute goal org

Re: [cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-18 Thread Andy Ng
Hi Ganesh, I forget to clarify, our CAS server is also using Tomcat war deployment (CAS 5.x, been running for at least 5 months now), and I don't have the following in my pom.xml - tomcat-embed-core - tomcat-embed-el - tomcat-catalina - jstl So I think it is safe to assume those ar

Re: [cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-18 Thread Ganesh and Sashi Prasad
Thanks, Andy, I will try this. Yes, the cas-server-* ones are there because I need those features. Regards, Ganesh On Thu, 18 Oct 2018 at 17:21, Andy Ng wrote: > Hi Ganesh, > > CAS war file will run fine by just the default cas overlay pom.xml ( > https://github.com/apereo/cas-overlay-template

[cas-user] Re: Which dependencies can I remove if I am not using embedded Tomcat?

2018-10-17 Thread Andy Ng
Hi Ganesh, CAS war file will run fine by just the default cas overlay pom.xml (https://github.com/apereo/cas-overlay-template/blob/5.3/pom.xml) So what to keep really depends on what you need to add beyond the barebone CAS configuration. I think for all of the one starting with "cas-server", li