razerdp / BasePopup

Android下打造通用便捷的PopupWindow弹窗库
https://github.com/razerdp/BasePopup
Apache License 2.0
5.2k stars 759 forks source link

3.2.1版本maven仓库缺少源码 #502

Open wingkingbobo opened 11 months ago

wingkingbobo commented 11 months ago

问题:3.2.1版本maven仓库缺少源码 日志:

* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_adf02fe8-ab60-487e-8405-d2a4de2770cc'.
   > Could not find io.github.razerdp:BasePopup:3.2.1@aar.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/github/razerdp/BasePopup/3.2.1@aar/BasePopup-3.2.1@aar.pom
       - https://repo.maven.apache.org/maven2/io/github/razerdp/BasePopup/3.2.1@aar/BasePopup-3.2.1@aar.pom
     Required by:
         project :app

期望:能通过maven下载source.jar,在Android Studio中查看源码及注释。

razerdp commented 11 months ago

我看了下maven,仓库是正常的。 具体FileList链接: https://repo1.maven.org/maven2/io/github/razerdp/BasePopup/3.2.1/

wingkingbobo commented 11 months ago
#实际文件路径
https://repo.maven.apache.org/maven2/io/github/razerdp/BasePopup/3.2.1/BasePopup-3.2.1.pom
#请求路径
https://repo.maven.apache.org/maven2/io/github/razerdp/BasePopup/3.2.1@aar/BasePopup-3.2.1@aar.pom

Android Studio点击Download Source后下载的路径与实际路径不符,多了@aar。 Android Gradle 插件版本:gradle-7.4-bin.zip Android Studio 版本:Dolphin | 2021.3.1 Patch 1

但是我猜测问题不在这里,可能是本身没上传源码到maven。 参考了腾讯QMUI的maven仓库,其中应该包含sources.jar https://repo.maven.apache.org/maven2/com/qmuiteam/qmui/2.1.0/

com/qmuiteam/qmui/2.1.0 ../ qmui-2.1.0-javadoc.jar 2022-03-05 15:50 2919785
qmui-2.1.0-javadoc.jar.asc 2022-03-05 15:50 475
qmui-2.1.0-javadoc.jar.asc.md5 2022-03-05 15:50 32
qmui-2.1.0-javadoc.jar.asc.sha1 2022-03-05 15:50 40
qmui-2.1.0-javadoc.jar.asc.sha256 2022-03-05 15:50 64
qmui-2.1.0-javadoc.jar.asc.sha512 2022-03-05 15:50 128
qmui-2.1.0-javadoc.jar.md5 2022-03-05 15:50 32
qmui-2.1.0-javadoc.jar.sha1 2022-03-05 15:50 40
qmui-2.1.0-javadoc.jar.sha256 2022-03-05 15:50 64
qmui-2.1.0-javadoc.jar.sha512 2022-03-05 15:50 128
qmui-2.1.0-sources.jar 2022-03-05 15:50 472931
qmui-2.1.0-sources.jar.asc 2022-03-05 15:50 475
qmui-2.1.0-sources.jar.asc.md5 2022-03-05 15:50 32
qmui-2.1.0-sources.jar.asc.sha1 2022-03-05 15:50 40
qmui-2.1.0-sources.jar.asc.sha256 2022-03-05 15:50 64
qmui-2.1.0-sources.jar.asc.sha512 2022-03-05 15:50 128
qmui-2.1.0-sources.jar.md5 2022-03-05 15:50 32
qmui-2.1.0-sources.jar.sha1 2022-03-05 15:50 40
qmui-2.1.0-sources.jar.sha256 2022-03-05 15:50 64
qmui-2.1.0-sources.jar.sha512 2022-03-05 15:50 128
qmui-2.1.0.aar 2022-03-05 15:50 937184
qmui-2.1.0.aar.asc 2022-03-05 15:50 475
qmui-2.1.0.aar.asc.md5 2022-03-05 15:50 32
qmui-2.1.0.aar.asc.sha1 2022-03-05 15:50 40
qmui-2.1.0.aar.asc.sha256 2022-03-05 15:50 64
qmui-2.1.0.aar.asc.sha512 2022-03-05 15:50 128
qmui-2.1.0.aar.md5 2022-03-05 15:50 32
qmui-2.1.0.aar.sha1 2022-03-05 15:50 40
qmui-2.1.0.aar.sha256 2022-03-05 15:50 64
qmui-2.1.0.aar.sha512 2022-03-05 15:50 128
qmui-2.1.0.module 2022-03-05 15:50 5546
qmui-2.1.0.module.asc 2022-03-05 15:50 475
qmui-2.1.0.module.asc.md5 2022-03-05 15:50 32
qmui-2.1.0.module.asc.sha1 2022-03-05 15:50 40
qmui-2.1.0.module.asc.sha256 2022-03-05 15:50 64
qmui-2.1.0.module.asc.sha512 2022-03-05 15:50 128
qmui-2.1.0.module.md5 2022-03-05 15:50 32
qmui-2.1.0.module.sha1 2022-03-05 15:50 40
qmui-2.1.0.module.sha256 2022-03-05 15:50 64
qmui-2.1.0.module.sha512 2022-03-05 15:50 128
qmui-2.1.0.pom 2022-03-05 15:50 2411
qmui-2.1.0.pom.asc 2022-03-05 15:50 475
qmui-2.1.0.pom.asc.md5 2022-03-05 15:50 32
qmui-2.1.0.pom.asc.sha1 2022-03-05 15:50 40
qmui-2.1.0.pom.asc.sha256 2022-03-05 15:50 64
qmui-2.1.0.pom.asc.sha512 2022-03-05 15:50 128
qmui-2.1.0.pom.md5 2022-03-05 15:50 32
qmui-2.1.0.pom.sha1 2022-03-05 15:50 40
qmui-2.1.0.pom.sha256 2022-03-05 15:50 64
qmui-2.1.0.pom.sha512 2022-03-05 15:50 128