Dependency Updates and Build Failures in Open-Source Java Projects: A Repository Study
Keywords:
dependency management; software build; Java; open-source repositories; software evolution; empirical software engineeringAbstract
Open-source Java projects assemble their build products from rapidly changing artifact graphs, yet the relationship between dependency updates and build failures remains difficult to characterize from repository evidence alone. Declared version changes are observable, but the build consequence depends on resolved transitive versions, source and binary compatibility, plugin and toolchain alignment, and project-specific test behavior. This article develops a repository-study framework for analyzing how dependency updates in Java projects relate to subsequent build failures. The central contribution is an event-level analytical model that treats an update as a change in the resolved dependency graph, separates direct API incompatibility from transitive version conflict and environment mismatch, and specifies observable constructs that can be extracted from build files, lock data, commit histories, and continuous integration records. The framework defines update events, compatibility and conflict indicators, severity dimensions, association estimands, and missing-build diagnostics. It also identifies confounding and selection threats that arise because updates are not randomly assigned and because unsuccessful or abandoned builds are unevenly recorded. The resulting analysis clarifies why simple counts of dependency changes or failed jobs are insufficient: build failure is a multi-mechanism outcome, and the resolved graph, not the declared version alone, is the appropriate unit of technical exposure. The framework supports more defensible repository studies and mechanism-aware triage of automated and manual updates in Java ecosystems.
References
1. Lehman, M. M. (1980). Programs, life cycles, and laws of software evolution. Proceedings of the IEEE, 68(9), 1060–1076. https://doi.org/10.1109/PROC.1980.11805
2. Kemerer, C. F., & Slaughter, S. A. (1999). An empirical approach to studying software evolution. IEEE Transactions on Software Engineering, 25(4), 493–509. https://doi.org/10.1109/32.799945
3. Bavota, G., Canfora, G., Di Penta, M., Oliveto, R., & Panichella, S. (2015). How the Apache community upgrades dependencies: An evolutionary study. Empirical Software Engineering, 20(5), 1275–1317. https://doi.org/10.1007/s10664-014-9325-9
4. Raemaekers, S., van Deursen, A., & Visser, J. (2017). Semantic versioning and impact of breaking changes in the Maven repository. Journal of Systems and Software, 129, 140–158. https://doi.org/10.1016/j.jss.2016.04.008
5. Decan, A., Mens, T., & Claes, M. (2017). An empirical comparison of dependency issues in OSS packaging ecosystems. In 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER) (pp. 2–12). IEEE. https://doi.org/10.1109/SANER.2017.7884604
6. Cox, J., Bouwers, E., van Eekelen, M., & Visser, J. (2015). Measuring dependency freshness in software systems. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering (Vol. 2, pp. 109–118). IEEE. https://doi.org/10.1109/ICSE.2015.140
7. Kula, R. G., German, D. M., Ouni, A., Ishio, T., & Inoue, K. (2018). Do developers update their library dependencies? An empirical study on the impact of security advisories on library migration. Empirical Software Engineering, 23(1), 384–417. https://doi.org/10.1007/s10664-017-9521-5
8. Mirhosseini, S., & Parnin, C. (2017). Can automated pull requests encourage software developers to upgrade out-of-date dependencies? In 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) (pp. 84–94). IEEE. https://doi.org/10.1109/ASE.2017.8115621
9. Bogart, C., Kästner, C., Herbsleb, J., & Thung, F. (2016). How to break an API: Cost negotiation and community values in three software ecosystems. In Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering (pp. 109–120). ACM. https://doi.org/10.1145/2950290.2950325
10. Kalliamvakou, E., Gousios, G., Blincoe, K., Singer, L., German, D. M., & Damian, D. (2014). The promises and perils of mining GitHub. In Proceedings of the 11th Working Conference on Mining Software Repositories (pp. 92–101). ACM. https://doi.org/10.1145/2597073.2597074
11. Gousios, G. (2013). The GHTorrent dataset and tool suite. In Proceedings of the 10th Working Conference on Mining Software Repositories (pp. 233–236). IEEE. https://doi.org/10.1109/MSR.2013.6624034
12. Runeson, P., & Höst, M. (2009). Guidelines for conducting and reporting case study research in software engineering. Empirical Software Engineering, 14(2), 131–164. https://doi.org/10.1007/s10664-008-9102-8
13. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M. C., Regnell, B., & Wesslén, A. (2012). Experimentation in software engineering. Springer. https://doi.org/10.1007/978-3-642-29044-2
14. Yin, R. K. (2018). Case study research and applications: Design and methods (6th ed.). Sage.
15. Mens, T., & Demeyer, S. (2008). Software evolution. Springer. https://doi.org/10.1007/978-3-540-76440-3
16. Duvall, P. M., Matyas, S., & Glover, A. (2007). Continuous integration: Improving software quality and reducing risk. Addison-Wesley.
Downloads
Published
Issue
Section
License
Copyright (c) 2021 Computer Science and Engineering Transactions

This work is licensed under a Creative Commons Attribution 4.0 International License.
