diff gwt-client/pom.xml @ 8859:0862ea5d66ba 3.2.x

Add Checkstyle configuration.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:54:03 +0100
parents b5a868b50500
children 5b258de7f5a1
line wrap: on
line diff
--- a/gwt-client/pom.xml	Thu Jan 18 20:52:41 2018 +0100
+++ b/gwt-client/pom.xml	Thu Jan 18 20:54:03 2018 +0100
@@ -225,6 +225,29 @@
         </configuration>
       </plugin>
 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>3.0.0</version>
+        <configuration>
+          <configLocation>../checkstyle.xml</configLocation>
+          <encoding>UTF-8</encoding>
+        </configuration>
+        <executions>
+          <execution>
+            <id>validate</id>
+            <phase>validate</phase>
+            <configuration>
+              <consoleOutput>true</consoleOutput>
+              <failsOnError>true</failsOnError>
+            </configuration>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
     </build>
       <repositories>

http://dive4elements.wald.intevation.org