diff --git a/google_checkstyle.xml b/google_checkstyle.xml new file mode 100644 index 00000000000..a954a98c116 --- /dev/null +++ b/google_checkstyle.xml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index aa94f36983e..bb277a2a6bf 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,4 @@ - + org.sonatype.oss oss-parent @@ -68,6 +67,34 @@ target ${project.artifactId}-${project.version} + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17 + + + validate + validate + + google_checkstyle.xml + UTF-8 + true + true + false + + + check + + + + + + com.puppycrawl.tools + checkstyle + 6.19 + + + org.apache.maven.plugins maven-surefire-plugin