GoogleCloudPlatform/cloud-opensource-java

Discussion: tool for noticing difference between BOM and explicit dependencies

开放

#1,078 创建于 2019年12月17日

 (2 条评论) (0 个反应) (0 位负责人)Java (80 个派生)auto 404
blockeddocumentationenhancementgood first issuehelp wanted

仓库指标

星标
 (162 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南