diff artifacts/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 363016ee831a
children 0a900d605d52 005302ec461d
line wrap: on
line diff
--- a/artifacts/pom.xml	Thu Jan 18 20:52:41 2018 +0100
+++ b/artifacts/pom.xml	Thu Jan 18 20:54:03 2018 +0100
@@ -42,6 +42,28 @@
           </descriptors>
         </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>
 

http://dive4elements.wald.intevation.org