kemitix-checkstyle-ruleset/tile/tile.xml

50 lines
2.1 KiB
XML

<project>
<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>