Put all Maven dependency versions in properties

Becausesecurityvulnerabilitiesinthird-partysoftwarearesocommon, it is important to manage the versions of your dependencies and to be prepared to upgrade them quickly. For Maven projects, I recommend putting the versions of all your dependencies in the properties section of your pom.xml. Furthermore, for libraries which require multiple dependency entries in pom.xml, this allows you to ensure you use the same version for all of those dependencies.

Steven Engelhardt is a Director of Engineering at Relativity, an Adjust Professor of Software Engineering at DePaul University, an avid board gamer, and a father of two. His interests include high-performance data processing systems, server-side and cloud systems architecture, and the Chicago Blackhawks.