kemitix-checkstyle-ruleset/tile/tile.xml

60 lines
2.8 KiB
XML
Raw Normal View History

<project>
<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>
<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>
<groupId>net.kemitix.checkstyle</groupId>
<artifactId>ruleset</artifactId>
<version>${kemitix.checkstyle.ruleset.version}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>${kemitix.checkstyle.ruleset.location}</configLocation>
<sourceDirectories>
<sourceDirectory>${build.sourceDirectory}</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
<id>checkstyle-test</id>
<phase>test</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
<execution>
<id>checkstyle-verify</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>