mirror of https://github.com/google/oss-fuzz.git
18164f4554
The default source and test source directory for maven project are src/main/java and src/test/java respectively. The author of Javassist does specify a non-traditional location for the source and test source and manually set it in the pom.xml. Although it does not affect the normal project build, it does affect jacoco coverage report generator to extract the source code of the project because Jacoco will not read the pom.xml settings and only scan the default source and test source directory for source code file. To remedy, this fix aim to do some folder movement to move the source and test source back to the default directory while pointing the pom.xml settings to the default directory. These changes allow the project compile and execute as normal and also allow jacoco correctly retrieve the source code for coverage report generation. This fix is necessary for fuzz-introspector coverage report to show the code coverage down to the source code line. Signed-off-by: Arthur Chan <arthur.chan@adalogics.com> Signed-off-by: Arthur Chan <arthur.chan@adalogics.com> |
||
---|---|---|
.. | ||
ClassFuzzer.java | ||
Dockerfile | ||
build.sh | ||
pom.xml.diff | ||
project.yaml |