Maven-Lockfile: High Integrity Rebuild of Past Java Releases

Read full text
Authors: Larissa Schmid, Elias Lundell, Yogya Gamage, Benoît Baudry, Martin Monperrus
Cited by: 0

Abstract

Modern software projects depend on many third-party libraries, complicating reproducible and secure builds. Several package managers address this with the generation of a lockfile that freezes dependency versions and can be used to verify the integrity of dependencies. Yet, Maven, one of the most important package managers in the Java ecosystem, lacks native support for a lockfile. We present Maven-Lockfile to generate and update lockfiles, with support for rebuilding projects from past versions. Our lockfiles capture all direct and transitive dependencies with their checksums, enabling high integrity builds. Our evaluation shows that Maven-Lockfile can reproduce builds from historical commits and is able to detect tampered artifacts. With minimal configuration, Maven-Lockfile equips Java projects with modern build integrity and build reproducibility, and fosters future research on software supply chain security in Java. Demonstration: https://youtu.be/eGgR3toBgxU

Fields of Study & Subjects

Scientific Computing and Data Management Security and Verification in Computing Software System Performance and Reliability

Publication details

Pages
97–100
Publication date
12 April 2026
Language
EN