Skip to content

Conversation

@suztomo
Copy link
Contributor

@suztomo suztomo commented Jan 27, 2020

Fixes #1154 .

Problem to solve

Before this PR, Linkage Monitor does not check the updated BOM in a repository. Suppose Linkage Monitor is setup for https://github.com/googleapis/google-auth-library-java. It ignores any new change in the google-auth-library-bom.

How to solve

Maven's model builder provides API modelRequest.setModelResolver(ModelResolver modelResolver), where we can intercept model resolution. This PR leverages the API by introducing VersionSubstitutingModelResolver which substitutes the versions of specified Maven coordinates.

@suztomo suztomo changed the title Version substituting model resolver Linkage Monitor to work with repositories that hosts other BOMs than google-cloud-bom Jan 27, 2020
@suztomo suztomo merged commit 6f2c6b9 into master Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linkage Monitor to work with repositories hosting BOMs included in google-cloud-bom

3 participants