Ensure Checkstyle suppression for dependency-reduced-pom.xml on Windows (#10899)

Motivation:

`mvn package` on Windows fails if there are some `dependency-reduced-pom.xml` files generated by the previous build.
`mvn clean package` does not help because it does not remove those files at the clean phase.

Modifications:

Use the correct file pattern for the suppression filters.

Result:

Following `mvn package` runs well on Windows.
This commit is contained in:
YoungTae Seok 2021-01-02 03:30:13 +09:00 committed by GitHub
parent 249392fe12
commit 3043ebb21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,6 @@
<suppress message="http://maven.apache.org/POM/4.0.0" checks="NoHttp"/>
<!-- These files are generated during the build and not under git -->
<suppress files="testsuite-shading/dependency-reduced-pom.xml" checks="NoHttp"/>
<suppress files="common/dependency-reduced-pom.xml" checks="NoHttp"/>
<suppress files="testsuite-shading[/\\]dependency-reduced-pom\.xml" checks="NoHttp"/>
<suppress files="common[/\\]dependency-reduced-pom\.xml" checks="NoHttp"/>
</suppressions>