C.R. Paulsen
Please Note
2 records found
1
Shifting the Maintenance Burden
Towards Data-Driven Dependency Management
Modern software systems rely heavily on open-source dependencies, yet maintaining these dependencies remains challenging due to the conflicting requirements of freshness, compatibility, and security. Existing tools provide only partial support and often rely on client-specific information, which does not generalize or scale to efficiently manage dependency sets across diverse clients. As a result, developers remain largely responsible for ensuring the quality of their dependency sets. This PhD project investigates how dependency managers can be empowered to provide dependency sets that are up-to-date, compatible, and secure. I hypothesize that this requires fine-grained and reusable knowledge about how dependencies evolve and interact, which is not currently available or exploited by existing resolvers. To address this, I propose a data-driven dependency management approach that aggregates detailed compatibility and security information and incorporates it into fine-grained, optimizable resolution constraints. The project will contribute techniques for client-agnostic compatibility analysis, a dataset of fine-grained library changes, a hybrid client-aware compatibility and vulnerability detection approach, and an optimization-based dependency resolver tailored to client usage. Together, these contributions aim to reduce the developer burden of dependency maintenance and strengthen the software supply chain.
MaRCo
Compatible Version Ranges in Maven
Managing dependencies in Java projects is challenging: undeclared, implicit dependencies and conflicting version declarations can lead to breaking changes and unpredictable resolution. We present MARCO, a tool to improve resolution reliability in Maven. It injects missing direct dependencies and replaces pinned versions with client-agnostic compatible version ranges, which can be safely reused across clients. The ranges are obtained by combining bytecode differencing and cross-version testing to detect API and behaviorally compatible dependency versions. We demonstrate how MARCO can be used to retrieve compatible versions for specific dependencies, replace pinned versions using compatibility mappings, and execute the full pipeline to enable compatibility-aware resolution. Our preliminary evaluation shows MARCo recovers all missing dependencies for 91% of affected projects, and replaces pinned versions with stable, compatible version ranges for 13 % of dependencies on average across 78 % of projects. MARCO demonstrates the feasibility of scalable, compatibility-driven dependency management. The demo is available at https://youtu.be/2faDG8Cmmh0.