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

Maven: fix classifier being part of the dependency name #7980

Merged
merged 6 commits into from
Sep 6, 2023

Conversation

jakecoffman
Copy link
Member

In #1924 the classifier was added to take account of the different URL pattern needed to pull the dependency, however it was added to the dependency name and this has caused some issues around allow and ignore.

I've put up a repro here: https://github.com/dsp-testing/maven-no-make-pr

Since it is appending the classifier to the end of the dependency name, the allow is preventing the update.

To fix this I moved the classifier into the dependency metadata, which didn't exist when #1924 was created, but now is a perfect place for this data to live!

@jakecoffman jakecoffman requested a review from a team as a code owner September 6, 2023 16:33
@github-actions github-actions bot added the L: java:maven Maven packages via Maven label Sep 6, 2023
@jakecoffman jakecoffman changed the title fix maven classifier being part of the dependency name Maven: fix classifier being part of the dependency name Sep 6, 2023
@jakecoffman
Copy link
Member Author

This fixes the issue in the repro, merging.

@jakecoffman jakecoffman merged commit 9b00b7d into main Sep 6, 2023
79 checks passed
@jakecoffman jakecoffman deleted the jakecoffman/fix-maven-classifier-is-not-dep-name branch September 6, 2023 17:29
brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: java:maven Maven packages via Maven
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants