HADOOP-13160. Suppress checkstyle JavadocPackage check for test source. John Zhuge via stevel
This commit is contained in:
parent
2dab64da2f
commit
dcbb7009b6
21
dev-support/checkstyle/suppressions.xml
Normal file
21
dev-support/checkstyle/suppressions.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License. See accompanying LICENSE file.
|
||||||
|
-->
|
||||||
|
<!DOCTYPE suppressions PUBLIC
|
||||||
|
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
|
||||||
|
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
|
||||||
|
|
||||||
|
<suppressions>
|
||||||
|
<suppress checks="JavadocPackage" files="[\\/]src[\\/]test[\\/].*"/>
|
||||||
|
</suppressions>
|
1
pom.xml
1
pom.xml
@ -317,6 +317,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configLocation>checkstyle/checkstyle.xml</configLocation>
|
<configLocation>checkstyle/checkstyle.xml</configLocation>
|
||||||
|
<suppressionsLocation>dev-support/checkstyle/suppressions.xml</suppressionsLocation>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
<failOnViolation>false</failOnViolation>
|
<failOnViolation>false</failOnViolation>
|
||||||
<format>xml</format>
|
<format>xml</format>
|
||||||
|
Loading…
Reference in New Issue
Block a user