trautonen / coveralls-maven-plugin

Maven plugin for submitting Java code coverage reports to Coveralls web service.
MIT License
311 stars 124 forks source link

Duplicate source files on Cobertura aggregate mode #52

Closed trautonen closed 10 years ago

trautonen commented 10 years ago

When running Cobertura with aggregation mode set, it will generate per module reports also. There is no way the Coveralls plugin can tell if the file is an aggregate report or a non aggregate report. This can be addressed by tracking the source files added and ignore if there are duplicates.

trautonen commented 10 years ago

A quick workaround with version 3.0.0 is to always run Cobertura as non aggregating and let the Coveralls plugin aggregate the reports.

trautonen commented 10 years ago

Duplicate file issue is correctly fixed in 3.0.1.