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

支持下载 SNAPSHOT 版本 #192

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

MrXiaoM
Copy link

@MrXiaoM MrXiaoM commented Dec 24, 2023

参考仓库:https://s01.oss.sonatype.org/content/repositories/snapshots/

SNAPSHOT 版本在仓库中的链接格式不再是 $repo/$group/$artifact/$version/$artifact-$version(-$classifier).$extension,文件名版本号中的 SNAPSHOT 将会被替换为 年月日.时分秒-编号 格式,这使得 MCL 无法下载。

为了方便,在下载后文件名将会设为方便识别的格式,而不是下载时的文件名。

本 PR 顺便修复了

  • 拼写错误 (引号里多了个`)
  • 获取最新版本时从某一个仓库获取不到该包的 maven-metadata 时报错

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.

None yet

1 participant