{"@attributes":{"version":"2.0"},"channel":{"title":"Chainguard Libraries for Java on","link":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/","description":"Recent content in Chainguard Libraries for Java on","generator":"Hugo -- gohugo.io","language":"en","copyright":"Copyright (c) 2023 Chainguard","lastBuildDate":"Tue, 25 Mar 2025 08:04:00 +0000","item":[{"title":"Chainguard Libraries for Java overview","link":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/overview\/","pubDate":"Tue, 25 Mar 2025 08:04:00 +0000","guid":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/overview\/","description":"<p>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.<\/p>\n<p>Chainguard Libraries for Java provides access to all open source libraries\ncommonly used. New releases of common libraries or artifacts requested by\ncustomers are added to the growing index by an automated system. The number of\nincluded libraries continues to grow. These artifacts are accessible through the\n<a href=\"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/chainguard-repository\/\">Chainguard Repository<\/a>,\na single endpoint for package retrieval that supports configurable security\npolicies for both Chainguard-built and upstream packages.<\/p>"},{"title":"Global configuration","link":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/global-configuration\/","pubDate":"Tue, 25 Mar 2025 08:04:00 +0000","guid":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/global-configuration\/","description":"<p>Java and JVM library consumption in a large organization is typically managed by\na repository manager. Commonly used repository manager applications are\n<a href=\"https:\/\/cloudsmith.com\/\">Cloudsmith<\/a>, <a href=\"https:\/\/cloud.google.com\/artifact-registry\/docs\">Google Artifact Registry<\/a>, <a href=\"https:\/\/jfrog.com\/artifactory\/\">JFrog\nArtifactory<\/a>, and <a href=\"https:\/\/www.sonatype.com\/products\/sonatype-nexus-repository\">Sonatype Nexus\nRepository<\/a>. The\nrepository manager acts as a single point of access for developers and\ndevelopment tools to retrieve the required libraries.<\/p>\n<p>At a high level, adopting the use of Chainguard Libraries consists of the\nfollowing steps:<\/p>\n<ul>\n<li>Add Chainguard Libraries as a remote repository for library retrieval.<\/li>\n<li>Configure the Chainguard Libraries repository as the first choice for any\nlibrary access. This ensures that any future requests of new libraries access\nthe version supplied by Chainguard. Typically this is accomplished by creating a\ngroup repository or virtual repository that combines the repository with other\nexternal and internal repositories.<\/li>\n<\/ul>\n<p>Additional steps depend on the desired insights and can include the following\noptional measures:<\/p>"},{"title":"Build configuration","link":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/build-configuration\/","pubDate":"Tue, 25 Mar 2025 08:04:00 +0000","guid":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/build-configuration\/","description":"<p>The configuration for the use of Chainguard Libraries depends on your build\ntools, continuous integration, and continuous deployment setups<\/p>\n<p>At a high level adopting the use of Chainguard Libraries consists of the\nfollowing steps:<\/p>\n<ul>\n<li>Remove local caches on workstations and CI\/CD pipelines. This step ensures that\nany libraries that were already sourced from other repositories are requested\nagain and the version from Chainguard Libraries is used instead of other\nbinaries.<\/li>\n<li>Change configuration to access Chainguard Libraries via your repository\nmanager after the changes from the <a href=\"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/global-configuration\/\">global\nconfiguration<\/a> are\nimplemented.<\/li>\n<\/ul>\n<p>These changes must be performed on all workstations of individual developers and\nother engineers running relevant application builds. They must also be performed\non any build server such as Jenkins, TeamCity, GitHub or other infrastructure\nthat builds the applications or otherwise downloads and uses relevant libraries.<\/p>"},{"title":"Management and maintenance","link":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/management\/","pubDate":"Tue, 25 Mar 2025 08:04:00 +0000","guid":"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/management\/","description":"<p>Chainguard Libraries for Java operates transparently after completing the <a href=\"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/global-configuration\/\">global configuration<\/a> and <a href=\"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/java\/build-configuration\/\">build configuration<\/a>, automatically providing security-enhanced versions of your Maven dependencies. New artifacts and versions are retrieved from Chainguard&rsquo;s hardened repository when available, while Maven Central and other configured repositories provide fallback access to ensure continuous development workflow without interruption.<\/p>\n<p>The following sections detail optional management, maintenance, and auditing\nsteps on the repository manager and the build tool.<\/p>\n<p><a id=\"java-verification\"><\/a><\/p>\n<h2 id=\"source-verification\" class=\"heading-2\" data-heading-level=\"2\">\n<span class=\"heading-text\">Source verification<\/span>\n<a href=\"#source-verification\" class=\"anchor\" aria-label=\"Link to Source verification\" title=\"Link to this section\">\n<svg width=\"16\" height=\"9\" viewBox=\"0 0 16 9\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" aria-hidden=\"true\">\n<path d=\"M6.833 8.125H4C3 8.125 2.146 7.77067 1.438 7.062C0.729333 6.354 0.375 5.5 0.375 4.5C0.375 3.5 0.729333 2.646 1.438 1.938C2.146 1.22933 3 0.875 4 0.875H6.833V1.958H4C3.30533 1.958 2.708 2.208 2.208 2.708C1.708 3.208 1.458 3.80533 1.458 4.5C1.458 5.19467 1.708 5.792 2.208 6.292C2.708 6.792 3.30533 7.042 4 7.042H6.833V8.125ZM5.208 5.042V3.958H10.792V5.042H5.208ZM9.167 8.125V7.042H12C12.6947 7.042 13.292 6.792 13.792 6.292C14.292 5.792 14.542 5.19467 14.542 4.5C14.542 3.80533 14.292 3.208 13.792 2.708C13.292 2.208 12.6947 1.958 12 1.958H9.167V0.875H12C13 0.875 13.854 1.22933 14.562 1.938C15.2707 2.646 15.625 3.5 15.625 4.5C15.625 5.5 15.2707 6.354 14.562 7.062C13.854 7.77067 13 8.125 12 8.125H9.167Z\" fill=\"currentColor\"\/>\n<\/svg>\n<\/a>\n<\/h2><p>Use <a href=\"https:\/\/edu.chainguard.dev\/chainguard\/libraries\/verification\/\">chainver<\/a> to verify that a specific\nlibrary or file originates from Chainguard in an automated fashion or follow the\nsteps in this section for manual verification.<\/p>"}]}}