|
|
@@ -241,6 +241,27 @@
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
+ <version>3.1.2</version>
|
|
|
+ <configuration>
|
|
|
+ <configLocation>checkstyle.xml</configLocation>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <consoleOutput>true</consoleOutput>
|
|
|
+ <failsOnError>true</failsOnError>
|
|
|
+ <linkXRef>false</linkXRef>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>validate</id>
|
|
|
+ <phase>validate</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>check</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|