I've followed the tutorial at https://www.mkyong.com/spring-boot/spring-boot-deploy-war-file-to-tomcat/, to successfully create a WAR file. However, I also need an external jar library, which I, at the moment, manually put in the resulting WAR file, inside the folder WEB-INF/lib
.
What I want is to put all the external jars in say a folder lib
,and have Maven automatically place them in the WEB-INF/lib
folder of resulting WAR file, during compilation. How can I do that?