Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce failOnVersionConflict per project/dep #186

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

jrhee17
Copy link
Contributor

@jrhee17 jrhee17 commented Nov 21, 2024

Motivation

Recently, a new armeria artifact was published with an unintended dependency bump up exposed in the resulting pom. (line/armeria#5992)
To avoid this, I propose that failOnVersionConflict utility is used to detect if the resolved dependency.

Because introducing failOnVersionConflict for all projects and dependencies makes adoption difficult due to the many conflicts, this variant can narrow the scope on detecting version conflicts. Additionally, if there is a dependency conflict but the finally resolved version is the intended version an exception isn't raised.

Modification

  • Introduced a new failOnVersionConflict which detects version conflicts per dependency.

@jrhee17
Copy link
Contributor Author

jrhee17 commented Nov 21, 2024

Let me go ahead and merge this PR since the armeria-side PR has already been approved

@jrhee17 jrhee17 merged commit 597bb9e into line:main Nov 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant