GoogleCloudPlatform/cloud-opensource-java

Discussion: tool for noticing difference between BOM and explicit dependencies

Aperta

#1078 aperta il 17 dic 2019

 (2 commenti) (0 reazioni) (0 assegnatari)Java (80 fork)auto 404
blockeddocumentationenhancementgood first issuehelp wanted

Metriche repository

Star
 (162 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor