PExReport-Maven: Creating Pruned Executable Cross-Project Failure Reports in Maven Build System




Huang, Sunzhou
Wang, Xiaoyin

Journal Title

Journal ISSN

Volume Title


Association for Computing Machinery


Modern Java software development extensively depends on existing libraries written by other developer teams from the same or a different organization. When a developer executes the test, the execution trace may go across the boundaries of multiple dependencies and create cross-project failures (CPFs). A readable, executable, and concise CPF report may enable the most effective communication, but creating such a report is often challenging in Java ecosystems. We developed PExReport-Maven to automatically create the ideal CPF reports in the Maven build system. PExReport-Maven leverages the Maven build system to prune source code, dependencies, and the build environment to create a concise stand-alone executable CPF reproduction package from the original CPF project. The reproduction package includes the source code, dependencies, and build environment necessary to reproduce the CPF, making it an ideal CPF report. We performed an evaluation on 74 software project issues with 198 cross-project failures, and the evaluation results show that PExReport can create pruned reproduction packages for 184 out of the 198 test failures in our dataset, with an average reduction of 72.97% in Java classes. A future study will be conducted based on user feedback from using this tool to report real-world CPFs. PExReport-Maven is publicly available at The tool demo is available on the PExReport website:



cross-project failure, test failure, failure report, maven, failure reproduction


Huang, S., & Wang, X. (2023). PExReport-Maven: Creating Pruned Executable Cross-Project Failure Reports in Maven Build System. Paper presented at the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis, Seattle, WA, USA.


Computer Science