Chainguard Libraries for Java Learnning Lab in May 2025 with Manfred Moser
2 min read
The May 2025 Learning Lab with Manfred Moser covers Chainguard Libraries for
Java. It starts with an overview about libraries and the Java ecosystem and
progresses to a demo with Apache Maven and Sonatype Nexus.
VIDEO
Sections
0:00 Introduction and agenda2:38 Chainguard and containers3:47 Chainguard Factory4:57 Concepts - from containers to libraries9:00 Java and Java libraries12:45 Software supply chain of libraries and attacks19:27 Dependency supply in Java20:30 Repository concept and Maven Central24:32 Chainguard Libraries for Java and repository manager intro28:17 Developer tools29:21 Demo start and setup with chainctl32:55 Sonatype Nexus configuration37:30 Maven configuration40:41 Example project setup, build, and results44:57 Dependency list and tree47:00 Results and verification49:37 Summary50:43 Up next52:55 QuestionsDemo
Following are some of the commands used in the demo. More information can be
found in the slide deck, the linked resources, and the video.
Creating a pull token:
chainctl auth login
chainctl libraries entitlements list
chainctl auth pull-token --library-ecosystem=java --ttl=1h
Cleaning up the local Maven repository cache:
rm -rf ~/.m2/repository
Building Trino Gateway from source
and looking at dependencies:
cd trino-gateway
./mvnw clean install -DskipTests=true
./mvnw dependency:list
./mvnw dependency:tree
Reesource Links
Related Articles Learning Lab for June 2025 on Chainguard Libraries for Python and Supply Chain Security
3 min read
Frequently asked questions and answers for Chainguard Libraries users
5 min read
Software libraries for your application development
3 min read
Java libraries for your application development
5 min read
Python libraries for your application development
4 min read
Last updated: 2025-06-18 21:00