Fix for multi-module maven builds.

Fix to ensure that scoverage produces correct results when used in the context of a multi-module maven build with dependencies between the modules (for instance classes that inherit from classes in other modules).