<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Chainguard Libraries for Java on</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/</link><description>Recent content in Chainguard Libraries for Java on</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>Copyright (c) 2023 Chainguard</copyright><lastBuildDate>Tue, 25 Mar 2025 08:04:00 +0000</lastBuildDate><atom:link href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/index.xml" rel="self" type="application/rss+xml"/><item><title>Chainguard Libraries for Java overview</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/overview/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/overview/</guid><description>&lt;p&gt;Chainguard Libraries for Java provides enhanced security for the Java ecosystem by rebuilding dependencies from Maven Central and other common repositories with the latest patches and comprehensive supply chain protection. This service addresses critical vulnerabilities in the vast Java/JVM ecosystem that spans hundreds of projects from organizations like the Apache Software Foundation, Eclipse Foundation, and numerous independent maintainers.&lt;/p&gt;
&lt;p&gt;Chainguard Libraries for Java provides access to all open source libraries
commonly used. New releases of common libraries or artifacts requested by
customers are added to the growing index by an automated system. The number of
included libraries continues to grow. These artifacts are accessible through the
&lt;a href="https://edu.chainguard.dev/chainguard/libraries/chainguard-repository/"&gt;Chainguard Repository&lt;/a&gt;,
a single endpoint for package retrieval that supports configurable security
policies for both Chainguard-built and upstream packages.&lt;/p&gt;</description></item><item><title>Global configuration</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/</guid><description>&lt;p&gt;Java and JVM library consumption in a large organization is typically managed by
a repository manager. Commonly used repository manager applications are
&lt;a href="https://cloudsmith.com/"&gt;Cloudsmith&lt;/a&gt;, &lt;a href="https://cloud.google.com/artifact-registry/docs"&gt;Google Artifact Registry&lt;/a&gt;, &lt;a href="https://jfrog.com/artifactory/"&gt;JFrog
Artifactory&lt;/a&gt;, and &lt;a href="https://www.sonatype.com/products/sonatype-nexus-repository"&gt;Sonatype Nexus
Repository&lt;/a&gt;. The
repository manager acts as a single point of access for developers and
development tools to retrieve the required libraries.&lt;/p&gt;
&lt;p&gt;The recommended approach is to use the &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/overview/#upstream-fallback-and-controls"&gt;upstream
fallback&lt;/a&gt;
feature of Chainguard Repository, which allows you to configure your repository
manager with a single upstream pointed at &lt;code&gt;https://libraries.cgr.dev/java/&lt;/code&gt; without a separate fallback to Maven Central. The
Chainguard Repository handles fallback and policy enforcement; your repository
manager handles local caching and access control. Chainguard retrieves
packages from the public Maven Central repository on your behalf when upstream
fallback is enabled. This includes protections such as malware scanning and a
cooldown period for newly published packages.&lt;/p&gt;</description></item><item><title>Configure Java build tools</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/build-configuration/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/build-configuration/</guid><description>&lt;p&gt;Chainguard Libraries for Java works with your existing build tools — Maven,
Gradle, and Bazel — through a repository configuration change. This page is a
reference for configuring each supported build tool. It covers repository
access, authentication, cache clearing, and minimal example projects.&lt;/p&gt;
&lt;p&gt;Apply these changes on every workstation and build server that builds your
applications or downloads libraries, including CI/CD infrastructure such as
Jenkins, TeamCity, or GitHub Actions.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;https://libraries.cgr.dev/java/&lt;/code&gt; endpoint is also the &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/chainguard-repository/overview/"&gt;Chainguard Repository&lt;/a&gt; endpoint for Java. By default, it serves only Chainguard-built artifacts. When &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/overview/#upstream-fallback-and-controls"&gt;upstream fallback&lt;/a&gt; is enabled for your organization, the same endpoint can also serve requested versions from Maven Central under Chainguard security controls.&lt;/p&gt;</description></item><item><title>Manage and update dependencies</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/management/</link><pubDate>Tue, 25 Mar 2025 08:04:00 +0000</pubDate><guid>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/management/</guid><description>&lt;p&gt;Chainguard Libraries for Java operates transparently after configuring your &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/"&gt;repository manager&lt;/a&gt; or &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/build-configuration/"&gt;your build tool&lt;/a&gt;, automatically providing security-enhanced versions of your Maven dependencies. After you configure Chainguard Libraries for Java, use this page for recurring maintenance tasks.&lt;/p&gt;
&lt;p&gt;Chainguard Libraries serves Chainguard-built artifacts when they are available. When &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/overview/#upstream-fallback-and-controls"&gt;upstream fallback&lt;/a&gt; is enabled, an artifact that Chainguard has not yet built may first be served through Chainguard’s upstream tier. With &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/build-pinning/"&gt;build pinning&lt;/a&gt;, the exact package version remains pinned to the artifact tier your organization first received, so a previously downloaded upstream artifact is not immediately replaced when Chainguard publishes a built equivalent.&lt;/p&gt;</description></item><item><title>Migrating a Java project to Chainguard Libraries</title><link>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/migration/</link><pubDate>Thu, 02 Jul 2026 00:00:00 +0000</pubDate><guid>https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/migration/</guid><description>&lt;p&gt;Chainguard Libraries for Java provides a curated repository of packages rebuilt from upstream sources and &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/overview/#malware-and-greyware-detection"&gt;scanned for malware&lt;/a&gt;. Because Chainguard Libraries uses the standard Maven repository format, switching an existing project requires only a repository configuration change — no changes to your application code or dependency versions.&lt;/p&gt;
&lt;p&gt;This guide walks through migrating an existing Java project to Chainguard Libraries, covering the two most common setups:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Direct access — your build tool connects directly to libraries.cgr.dev. This option is faster for initial evaluation and smaller-scale setups.&lt;/li&gt;
&lt;li&gt;Repository manager — your build tool connects to a repository manager (&lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/#cloudsmith"&gt;Cloudsmith&lt;/a&gt;, &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/#google-artifact-registry"&gt;Google Artifact Registry&lt;/a&gt;, &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/#jfrog-artifactory"&gt;JFrog Artifactory&lt;/a&gt;, or &lt;a href="https://deploy-preview-3872--ornate-narwhal-088216.netlify.app/chainguard/libraries/java/global-configuration/#sonatype-nexus-repository"&gt;Sonatype Nexus&lt;/a&gt;), which proxies requests to Chainguard Libraries.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To follow along with a ready-made project instead of your own, use the &lt;a href="https://github.com/chainguard-demo/chainguard-libraries-java"&gt;Chainguard Libraries for Java demo repository&lt;/a&gt;. It provides Maven and Gradle example projects, including a minimal Spring Boot application and CVE remediation demos.&lt;/p&gt;</description></item></channel></rss>