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
-
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
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
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
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
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
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