Closed koresmosto closed 5 years ago
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
<checkstyle.config.location>google_checks.xml</checkstyle.config.location>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
<configLocation>${checkstyle.config.location}</configLocation>
</configuration>
</plugin>
google_checks.xml location:
https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
IDE Formatter: 1) Install Google formatter Intellij idea plugin 2) Apply google formatter file: https://github.com/koresmosto/lozu/blob/UsedFiles/GoogleStyle.xml
Maven intro