google-java-format
To install it, go to your IDE’s settings and select the Plugins category. Click the Marketplace tab, search for the google-java-format plugin, and click the Install button.
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.9</version>
</dependency>