Move configuration of checkstyle plugin
diff --git a/pom.xml b/pom.xml
index 83de7bf..c94d8c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -246,15 +246,15 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>3.1.0</version>
-        <configuration>
-          <configLocation>contrib/checkstyle.xml</configLocation>
-        </configuration>
         <executions>
           <execution>
             <id>check-style</id>
             <goals>
               <goal>check</goal>
             </goals>
+            <configuration>
+              <configLocation>contrib/checkstyle.xml</configLocation>
+            </configuration>
           </execution>
         </executions>
       </plugin>