Painless maintenance of Maven builds needs a good baseline. If your project domain is special, you might consider the good old Maven Archetype to get started. Some ecosystems, like Spring Boot, have their own approach to address this challenge in an interactive way. Likewise, there are more common generators like Toolbox or websites like Maven initializer.
Toolbox is also nice to extend and reason over a given projects.Plugins like Enforcer, Sortpom, and versions help to gain more control over the POM organization and maintenance. Following good practices for dependency and plugin management helps to reduce maintenance pain.
Runtime measurements and analyzing build execution with the build plan plugin enable troubleshooting.