Maven-Lockfile: Lockin...
summary
Claim: a JSON lockfile records cryptographic checksums for every resolved artifact including transitive deps, BOMs, plugins and build extensions so builds can be frozen. The demo shows Maven’s dependency:go-offline misses a dynamically fetched Surefire artifact but maven-lockfile captures it (results in a ~15,000-entry log), and a companion CLI Hermeto prefetches and validates checksums into a local cache enabling offline, network-isolated test runs that complete successfully compared to Maven 3.9’s Trusted Checksums alone.
AI-written summary · about
chapters (13)
- 0:00Introduction and presenters
- 1:03Background on Maven and lock files
- 3:52What are hermetic builds
- 7:25Demo of Maven dependency:go-offline
- 10:14Problem with dynamic dependency resolution
- 11:36Introducing Maven Lockfile
- 15:03Red Hat’s hermetic build pipeline
- 17:10Hermetic tool and prefetching dependencies
- 22:00Maven Lockfile plugin demo
- 26:17Using Maven Lockfile in GitHub Actions
- 27:03Future work and adoption
- 28:51Chain research group and resources
- 29:33Talk summary and Q&A
