I've found that the maven fmt plugin will enforce formatting of Java source code if you prefer rigorously maintained source code formatting. See the platformlabeler-plugin for an example pom file that enforce formatting of Java source files and the pom file.
Enforced formatting involves compromises that may not be acceptable to your team. It takes some work to make it operate reasonably with IDE's. It may cause anguish and complaining from team members that disagree with the formatting choices of the automatic formatter.