elharo opened a new issue, #243: URL: https://github.com/apache/maven-artifact-plugin/issues/243
In `CompareMojo.compareWithReference()` the `ko` count already includes all "missing" artifacts, so missing files are double-counted in both the log output and the `.buildcompare` file. - Lines 196-198: `ko = artifacts.size() - ok - ignored.size()` counts every artifact that is neither OK nor ignored — which includes the entries put into `missingFilenames`. - Lines 200-205 / 218-227: the message and `ko=` value then add `missing` on top. Example: 3 artifacts, all missing -> log prints "`3 differ, 3 missing`" and `ko=3`, `missing=3` in the file, when the actual number of differing files is 3 (not 6). Suggest `ko` be computed as `koFilenames.size()` so missing is a disjoint subset. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
