Issue
After upgrading the version of dependencies inside the pom.xml file, the version of the jar files inside the lib folder is getting upgraded, but the "changed date" of these files is somewhat old. In contrast, the war file was generated just moments before. Any ideas why this is happening? This is happening while the war file is generated on a date way ahead of this one
Solution
Case 1: Lib A depend on foo-3.2.5.jar
. Your war depend on Lib A.
Case 2: Your other project B what created on Jan 1st 2022, depend on foo-3.2.5.jar
Your WAR depend on foo-3.2.4.jar
, then you upgrade to foo-3.2.5.jar
(it was exist)
If you want see something brand new, delete all in .m2
directory. Clear maven cache https://www.baeldung.com/maven-clear-cache
Answered By - James Graham
Answer Checked By - Terry (JavaFixing Volunteer)