-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcheckstyle.txt
36 lines (35 loc) · 1.7 KB
/
checkstyle.txt
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
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle -->
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>5.7</version>
</dependency>
</dependencies>
<configuration>
<cacheFile></cacheFile>
<consoleOutput>true</consoleOutput>
<logViolationsToConsole>true</logViolationsToConsole>
<propertyExpansion>
config_loc=${project.basedir}
</propertyExpansion>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<linkXRef>false</linkXRef>
<failsOnError>${strictBuild}</failsOnError>
</configuration>
<executions>
<execution>
<id>enforce-style</id>
<phase>process-sources</phase>
<goals>
<goal>checkstyle</goal>
</goals>
<!-- <configuration> <failOnViolation>true</failOnViolation> <maxAllowedViolations>0</maxAllowedViolations>
<violationSeverity>info</violationSeverity> </configuration> -->
</execution>
</executions>
</plugin>