-
Notifications
You must be signed in to change notification settings - Fork 39
/
pom.xml
45 lines (41 loc) · 1.74 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.saveourtool.diktat</groupId>
<artifactId>diktat-examples-maven</artifactId>
<packaging>pom</packaging>
<version>0.0-SNAPSHOT</version>
<properties>
<diktat.version>2.0.0</diktat.version>
</properties>
<!-- This is an example of how DiKTat performs static code analysis.
If you also wish to compile your code, typically via "mvn compile"
be sure to follow the instructions at https://kotlinlang.org/docs/maven.html
and include the kotlin-maven-plugin. -->
<build>
<plugins>
<plugin>
<groupId>com.saveourtool.diktat</groupId>
<artifactId>diktat-maven-plugin</artifactId>
<version>${diktat.version}</version>
<configuration>
<diktatConfigFile>diktat-analysis.yml</diktatConfigFile>
<inputs>
<input>${project.basedir}/src/main/kotlin</input>
<input>${project.basedir}/src/test/kotlin</input>
</inputs>
</configuration>
<executions>
<execution>
<id>diktat</id>
<goals>
<goal>check</goal>
<goal>fix</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>