title: How to add JAR file to an existing WAR file web-inf/lib folder?
body: <p>My setup is the following:</p>
  
  <ul>
  <li>I have a <strong>war</strong> file that is not under my control (I can only pull it as dependency) which is a Spring Boot web application</li>
  <li>I have a <strong>jar</strong> file that I would like to add to <strong>web-inf/lib</strong> folder so that the war file sees it on its classpath</li>
  </ul>
  
  <p>So far I was deploying the war file to my local Tomcat and added the jar to the lib folder of the Tomcat installation. I would like to switch to a single executable war file so that I can run it via command line and not using separate Tomcat instance.</p>
  
  <p>How can I achieve my goal using Maven?</p>