-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Part of our OKR.
As of now, Linkage Monitor runs only in google-cloud-bom's repository (https://github.com/googleapis/java-cloud-bom).
Confirm the below:
- Can Linkage Monitor work for the repositories hosting other BOMs imported by google-cloud-bom
Example: Add Linkage Monitor to google-cloud repositories #1041- Can Linkage Monitor detect a new bad entry in google-auth-library-bom?
No, because Linkage Monitor does not use the BOM in the repository. - Can Linkage Monitor detect a new bad dependency in google-auth-library-credentials?
Yes,LinkageMonitor.copyWithSnapshottakes care of replacing Maven artifact versions in an effective BOM.
- Can Linkage Monitor detect a new bad entry in google-auth-library-bom?
Ideally, Linkage Monitor should detect a bad entry in google-auth-library-bom.
Challenge
Maven's ModelBuildingResult.getEffectiveModel() resolves imported pom altogether. The resulted model has dependencyManagement section with artifacts, such as google-auth-library-credentials, but not with google-auth-library-bom.
Pseudo code in Linkage Monitor:
Model librariesBomModel = buildModel("libraries-bom:3.4.0").getEffectiveModel()
librariesBomModel.getDependencyManagement()
The interface does not seem to give access to intermediate model. Is there a way to intercept the resolution of google-auth-library-bom?
Metadata
Metadata
Assignees
Labels
No labels