Skip to content

fix(maven): return requested file extension#6455

Merged
Sychic merged 2 commits into
mainfrom
sychic/fix-maven-resolution
Jun 21, 2026
Merged

fix(maven): return requested file extension#6455
Sychic merged 2 commits into
mainfrom
sychic/fix-maven-resolution

Conversation

@Sychic

@Sychic Sychic commented Jun 21, 2026

Copy link
Copy Markdown
Member

closes #2428, #2663

@modrinth-bot

Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@Sychic Sychic force-pushed the sychic/fix-maven-resolution branch from 058e1a5 to 247d89e Compare June 21, 2026 03:47
@Sychic Sychic marked this pull request as draft June 21, 2026 04:27
@Sychic Sychic force-pushed the sychic/fix-maven-resolution branch from 247d89e to 2adcdfe Compare June 21, 2026 05:21
@Sychic Sychic marked this pull request as ready for review June 21, 2026 05:28
@Sychic Sychic added this pull request to the merge queue Jun 21, 2026
Merged via the queue into main with commit b188bbf Jun 21, 2026
7 checks passed
@Sychic Sychic deleted the sychic/fix-maven-resolution branch June 21, 2026 13:28
@Sychic

Sychic commented Jun 21, 2026

Copy link
Copy Markdown
Member Author

For some context for the future, the previous manual file extension determination wasn't updated when plugin project types were introduced. This PR rewrites the logic to first filter files to the requested file extension and then performs the file name checking logic.

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.

Fail to resolve jar of a maven dependency

3 participants