2018-01-16 22:23:33 +00:00
|
|
|
<project>
|
|
|
|
<properties>
|
2018-01-17 19:10:55 +00:00
|
|
|
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
|
2018-04-20 09:49:58 +01:00
|
|
|
<checkstyle.version>8.10</checkstyle.version>
|
2018-04-19 21:07:59 +01:00
|
|
|
<sevntu.version>1.29.0</sevntu.version>
|
2018-01-20 22:27:25 +00:00
|
|
|
<kemitix.checkstyle.ruleset.version>4.0.1</kemitix.checkstyle.ruleset.version>
|
2018-01-16 22:23:33 +00:00
|
|
|
<kemitix.checkstyle.ruleset.level>5-complexity</kemitix.checkstyle.ruleset.level>
|
|
|
|
<kemitix.checkstyle.ruleset.location>net/kemitix/checkstyle-${kemitix.checkstyle.ruleset.level}.xml</kemitix.checkstyle.ruleset.location>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
|
|
|
<version>${checkstyle.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.sevntu-checkstyle</groupId>
|
|
|
|
<artifactId>sevntu-checkstyle-maven-plugin</artifactId>
|
|
|
|
<version>${sevntu.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-01-17 18:41:42 +00:00
|
|
|
<groupId>net.kemitix.checkstyle</groupId>
|
|
|
|
<artifactId>ruleset</artifactId>
|
2018-01-16 22:23:33 +00:00
|
|
|
<version>${kemitix.checkstyle.ruleset.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${kemitix.checkstyle.ruleset.location}</configLocation>
|
2018-01-20 22:21:15 +00:00
|
|
|
<sourceDirectories>
|
|
|
|
<sourceDirectory>${build.sourceDirectory}</sourceDirectory>
|
|
|
|
</sourceDirectories>
|
2018-01-16 22:23:33 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|