Now there is no need of suppression for checkstyle.
remove checkstyle-suppressions.xml.
Change-Id: I1fe08a85542f52fcd94bf76f369b66bd0d02def6
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
- <suppressionsLocation>../../parent/checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
<excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
<consoleOutput>true</consoleOutput>
<propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
</dependencies>
<build>
<plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <suppressionsLocation>../parent/checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
- <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
- <consoleOutput>true</consoleOutput>
- <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
</dependencies>
<build>
<plugins>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <suppressionsLocation>../parent/checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
- <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
- <consoleOutput>true</consoleOutput>
- <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
+++ /dev/null
-<?xml version="1.0"?>
-
-<!DOCTYPE suppressions PUBLIC
- "-//Puppy Crawl//DTD Suppressions 1.0//EN"
- "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
-
-<suppressions>
- <suppress files="[/\\]target[/\\]" checks=".*"/>
-</suppressions>
-
<configuration>
<excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
<consoleOutput>true</consoleOutput>
- <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
<propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
</configuration>
<executions>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
- <suppressionsLocation>../parent/checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
<excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
<consoleOutput>true</consoleOutput>
<propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>