This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
commit f13a938f1c6543461d2a9e8bad095befb072af2d Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 5 00:40:05 2026 +0000 Explain that the MCHECKSTYLE-260 count includes the pom-packaged parent --- src/it/MCHECKSTYLE-260/verify.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/it/MCHECKSTYLE-260/verify.groovy b/src/it/MCHECKSTYLE-260/verify.groovy index 95f0413..37131e2 100644 --- a/src/it/MCHECKSTYLE-260/verify.groovy +++ b/src/it/MCHECKSTYLE-260/verify.groovy @@ -23,5 +23,6 @@ def buildLog = new File( basedir, 'build.log' ).text // but both locations shouldn't be checked assert !buildLog.contains( "[INFO] There are 3 errors reported by Checkstyle" ) -// the check ran in the parent and in both children: child-a with sourceDirectories, child-b with testSourceDirectories +// the check ran in the parent (pom packaging, counted as one of the three) and in both children: child-a with +// sourceDirectories, child-b with testSourceDirectories assert buildLog.count( "[INFO] You have 0 Checkstyle violations." ) == 3
