2018-01-16 22:23:33 +00:00
|
|
|
<project>
|
2019-02-02 19:12:33 +00:00
|
|
|
<properties>
|
|
|
|
<maven-checkstyle-plugin.version>@maven-checkstyle-plugin.version@</maven-checkstyle-plugin.version>
|
|
|
|
<checkstyle.version>@checkstyle.version@</checkstyle.version>
|
|
|
|
<sevntu.version>@sevntu.version@</sevntu.version>
|
|
|
|
<kemitix.checkstyle.ruleset.version>@kemitix.checkstyle.ruleset.version@</kemitix.checkstyle.ruleset.version>
|
|
|
|
<build.sourceDirectory>@build.sourceDirectory@</build.sourceDirectory>
|
|
|
|
<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>
|
2018-01-16 22:23:33 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2019-02-02 19:12:33 +00:00
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
2018-01-16 22:23:33 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
2019-02-02 19:12:33 +00:00
|
|
|
<version>${checkstyle.version}</version>
|
2018-01-16 22:23:33 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.sevntu-checkstyle</groupId>
|
|
|
|
<artifactId>sevntu-checkstyle-maven-plugin</artifactId>
|
2019-02-02 19:12:33 +00:00
|
|
|
<version>${sevntu.version}</version>
|
2018-01-16 22:23:33 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-01-17 18:41:42 +00:00
|
|
|
<groupId>net.kemitix.checkstyle</groupId>
|
|
|
|
<artifactId>ruleset</artifactId>
|
2019-02-02 19:12:33 +00:00
|
|
|
<version>${kemitix.checkstyle.ruleset.version}</version>
|
2018-01-16 22:23:33 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
2019-02-02 19:12:33 +00:00
|
|
|
<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>
|
2018-10-07 17:39:09 +01:00
|
|
|
<id>checkstyle-test</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>checkstyle</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>checkstyle-verify</id>
|
2018-01-16 22:23:33 +00:00
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|