From 8c2db4d65a461b9fc7783d1be1dd0bfd50eacc3b Mon Sep 17 00:00:00 2001
From: Luc Maisonobe <luc@orekit.org>
Date: Tue, 29 Sep 2015 21:34:07 +0200
Subject: [PATCH] configure checkstyle so mvn checkstyle:checkstyle uses the
 proper rules.

---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8f7ed66c..77ebdd32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -333,6 +333,16 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>${rugged.maven-checkstyle-plugin.version}</version>
+        <configuration>
+          <configLocation>${basedir}/checkstyle.xml</configLocation>
+          <enableRulesSummary>false</enableRulesSummary>
+          <headerLocation>${basedir}/license-header.txt</headerLocation>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
-- 
GitLab