How do I add local jar files (not yet part of the Maven repository) directly in my project\'s library sources?
For some reason, in the web application I'm giving maintenance to, neither Alireza Fattahi's solution nor JJ Roman's solution worked correctly. In both cases, the compilation goes okay (it sees the jar), but the packaging fails to include the jar inside the war.
The only way I managed to make it work was by putting the jar on /src/main/webapp/WEB-INF/lib/
and then combining it with either Fattahis's or Roman's solution.