diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml new file mode 100644 index 0000000..07e091d --- /dev/null +++ b/config/checkstyle/checkstyle.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 0000000..5b12009 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/pom.xml b/pom.xml index 4537716..c6305ea 100644 --- a/pom.xml +++ b/pom.xml @@ -178,6 +178,35 @@ org.springframework.boot spring-boot-maven-plugin + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.3.1 + + + com.puppycrawl.tools + checkstyle + 10.12.4 + + + + + checkstyle-validate + validate + + check + + + config/checkstyle/checkstyle.xml + config/checkstyle/suppressions.xml + true + true + false + UTF-8 + + + +