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.apache.maven.plugins:maven-war-plugin:3.2.1:war 
(default-war) on project iam: Error assembling WAR: webxml attribute is 
required (or pre-existing WEB-INF/web.xml if executing in update mode)

What could be going wrong?

Also, since you deploy the war file to a standalone Tomcat server, how 
large is your war file? Mine is 102 MB. Is this reasonable?

Regards,
Ganesh

On Thursday, 18 October 2018 18:56:03 UTC+11, Andy Ng wrote:
>
> 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 are not needed.
>
> As for:
>
>    - javax.inject
>    - servlet-api
>
> Those are used by us to enable some custom features. If I remove those 
> customization, those 2 are not needed as well.
>
> Hope these info give you more peace in mind when cleaning up your pom.xml 
> :)
>
> Cheers!
> - Andy
>
>
>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/86b2862a-dc53-4d78-94a6-352a49e40258%40apereo.org.

Reply via email to