# Manage Java transitive dependencies with Lightwell rebuilds

DevFeed: [Manage Java transitive dependencies with Lightwell rebuilds](<https://devfeed.tech/articles/manage-java-transitive-dependencies-with-lightwell-rebuilds-115668.md>)

Original publisher: [Read original article](<https://developers.redhat.com/articles/2026/11/03/manage-java-transitive-dependencies-lightwell-rebuilds>)

Author: Matej Marušák

Published: 2026-11-03T15:14:34Z

Content type: tutorial

Language: en

Sources: [Red Hat](<https://devfeed.tech/sources/red-hat.md>), [Red Hat Developer](<https://devfeed.tech/sources/red-hat-developer.md>)

Topics: [ibm red hat project lightwell](<https://devfeed.tech/topics/ibm-red-hat-project-lightwell.md>), [software composition analysis](<https://devfeed.tech/topics/software-composition-analysis.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [renovate](<https://devfeed.tech/topics/renovate.md>), [Dependabot](<https://devfeed.tech/topics/dependabot.md>)

Tags: [automated](<https://devfeed.tech/tags/automated.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [behind-the-scenes](<https://devfeed.tech/tags/behind-the-scenes.md>), [but](<https://devfeed.tech/tags/but.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [first](<https://devfeed.tech/tags/first.md>), [java](<https://devfeed.tech/tags/java.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [lightwell](<https://devfeed.tech/tags/lightwell.md>), [manager](<https://devfeed.tech/tags/manager.md>), [nested](<https://devfeed.tech/tags/nested.md>), [package](<https://devfeed.tech/tags/package.md>), [packages](<https://devfeed.tech/tags/packages.md>), [rebuilds](<https://devfeed.tech/tags/rebuilds.md>), [security](<https://devfeed.tech/tags/security.md>), [transitive-dependencies](<https://devfeed.tech/tags/transitive-dependencies.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

Java's pinned Maven and Gradle versions make it difficult for direct-dependency update tools such as Renovate or Dependabot to remediate vulnerabilities deep in transitive trees. The article describes three ways to use Lightwell's security-focused Java rebuilds: select packages manually from its catalog or API for granular control, with poor scalability; analyze the full dependency tree and review a report of matching rebuilds, then copy coordinates into pom.xml; or generate a BOM that pins matching rebuilds for auditability and version control, at the cost of continuous pipeline runs and BOM maintenance. The example pin-transitives.mjs script is only a starting point and lacks advanced filtering and CVE tracking. The article discourages opaque proxy-based substitutions because they can make builds nonreproducible and unverifiable; visible Maven relocations still warrant caution.

## Source excerpt

Updating direct dependencies in Java is straightforward, but securing the hundreds of transitive libraries running beneath them is where many development pipelines stall. While automated tools simplify how teams upgrade direct dependencies--the packages your project explicitly declares--the Java ecosystem presents a challenge: pinned versions and deeply nested trees of transitive dependencies. Transitive dependencies are the libraries your direct dependencies rely on behind the scenes, which your package manager pulls in automatically. The post Manage Java transitive dependencies with Lightwell rebuilds appeared first on Red Hat Developer.