In the collection of transitive maven dependencies for Java, we ignore all JARs available in the JDK that is chosen. This is extended to allow ignoring of JARs coming from the remote JDK or the local JDK. Use of the remote JDK in Bazel ensures hermiticity in some systems, which is a desirable option to have.
What are the changes implemented in this PR?
Allow java-deps to skip jars included in either the remote or local JDK
What is the goal of this PR?
In the collection of transitive maven dependencies for Java, we ignore all JARs available in the JDK that is chosen. This is extended to allow ignoring of JARs coming from the remote JDK or the local JDK. Use of the remote JDK in Bazel ensures hermiticity in some systems, which is a desirable option to have.
What are the changes implemented in this PR?