GoogleCloudPlatform/cloud-opensource-java

Discussion: tool for noticing difference between BOM and explicit dependencies

Open

#1,078 opened on Dec 17, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (80 forks)auto 404
blockeddocumentationenhancementgood first issuehelp wanted

Repository metrics

Stars
 (162 stars)
PR merge metrics
 (PR metrics pending)

Description

Customer issues in b/146130570 are making me think it might be too hard in large projects that extend past GCP to tell which versions can and cannot be set by the BOM. Two ideas:

  1. Docs listing what's covered in the BOM.
  2. An automated tool to suggest changes to a pom.xml when a dependency has an explicit version that is also set by the BOM.

Perhaps an enforcer rule could warn about #2?

DO NOT START IMPLEMENTING THIS. IT HAS NOT BEEN PRIORITIZED OR PLANNED. THIS IS FOR DISCUSSION ONLY

Contributor guide