Skip to content

Commit 3043ebb

Browse files
authored
Ensure Checkstyle suppression for dependency-reduced-pom.xml on Windows (netty#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.
1 parent 249392f commit 3043ebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nohttp-checkstyle-suppressions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
<suppress message="http://maven.apache.org/POM/4.0.0" checks="NoHttp"/>
5858

5959
<!-- These files are generated during the build and not under git -->
60-
<suppress files="testsuite-shading/dependency-reduced-pom.xml" checks="NoHttp"/>
61-
<suppress files="common/dependency-reduced-pom.xml" checks="NoHttp"/>
60+
<suppress files="testsuite-shading[/\\]dependency-reduced-pom\.xml" checks="NoHttp"/>
61+
<suppress files="common[/\\]dependency-reduced-pom\.xml" checks="NoHttp"/>
6262
</suppressions>

0 commit comments

Comments
 (0)