Browse Source

Suppress Checkstyle markers from */target/* paths

Change-Id: I2dda177c4e0a5bb28c001dd02aa0b40c81928163
tags/7.7.0.beta1
Johannes Dahlström 7 years ago
parent
commit
17e2402f3b
3 changed files with 11 additions and 1 deletions
  1. 9
    0
      checkstyle/suppressions.xml
  2. 1
    1
      checkstyle/vaadin-checkstyle.xml
  3. 1
    0
      pom.xml

+ 9
- 0
checkstyle/suppressions.xml View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<suppressions>
<suppress files="[/\\]target[/\\]" checks=".*"/>
</suppressions>

+ 1
- 1
checkstyle/vaadin-checkstyle.xml View File

@@ -269,7 +269,7 @@
<module name="RegexpSinglelineJava">
<property name="format" value="System\.err\.println" />
</module>
</module>

</module>

+ 1
- 0
pom.xml View File

@@ -185,6 +185,7 @@
<configuration>
<configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
<headerLocation>../checkstyle/header</headerLocation>
<suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
<encoding>UTF-8</encoding>
<consoleOutput>false</consoleOutput>
<failsOnError>false</failsOnError>

Loading…
Cancel
Save