Skip to content

Conversation

@zefir-git
Copy link
Contributor

@zefir-git zefir-git commented Dec 16, 2025

When Maven resolves the dependency, it sends the artifactId as part of the .jar and .pom file name in whatever case was specified for the dependency.

The problem is that the file name is in the case that the user uploaded it (usually the same as their original artifactId), and the .pom file generated by modrinth is always lowercase. This means that unless your artifactId is in lowercase ONLY and the uploaded file is also only in lowercase, Modrinth will fail to serve the correct file.

This PR changes the file name comparison to be case-insensitive.

@Prospector Prospector requested a review from a team December 19, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant