trautonen / coveralls-maven-plugin

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

Map source files relative to git root instead of project root #46

Closed trautonen closed 10 years ago

trautonen commented 10 years ago

Project structures that are not hierarchical will result unmappable relative source file names.

|- module1\pom.xml
|- module2\pom.xml
|- parent\pom.xml

Instead of using parent project's base dir as the root, use the git root directory, because Coveralls will base the source loading on that.