oss-fuzz/projects/javassist
Arthur Chan 18164f4554
[Javassist] Fix project directory and maven build script (#9037)
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>
2022-11-22 05:59:44 -08:00
..
ClassFuzzer.java
Dockerfile [Javassist] Fix project directory and maven build script (#9037) 2022-11-22 05:59:44 -08:00
build.sh [Javassist] Fix project directory and maven build script (#9037) 2022-11-22 05:59:44 -08:00
pom.xml.diff [Javassist] Fix project directory and maven build script (#9037) 2022-11-22 05:59:44 -08:00
project.yaml Code Intelligence Java projects: Add bug-disclosure email to project.yaml. (#8987) 2022-11-16 17:48:01 +11:00