gradle - bintray创建目录声称上传了工件,但它是空白的

标签 gradle bintray

我们正在评估Bintray,并具有以下构建文件

https://github.com/deanhiller/webpieces/blob/evaluateBintray/build.gradle

(不确定构建文件是否重要,因为它报告说正确地上传了每个 Artifact )。我看到这样的东西

> Task :webserver-plugins:plugin-backend:bintrayUpload
Uploaded to 'https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19-sources.jar'.
Uploading to https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19-javadoc.jar...
Uploaded to 'https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19-javadoc.jar'.
Uploading to https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19.jar...
Uploaded to 'https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19.jar'.
Uploading to https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19.pom...
Uploaded to 'https://api.bintray.com/content/deanhiller/maven/plugin-backend/2.0.19/org/webpieces/plugin-backend/2.0.19/plugin-backend-2.0.19.pom'.

真正奇怪的部分是它将创建目录
https://dl.bintray.com/deanhiller/maven/org/webpieces/plugin-backend/2.0.19

但是没有任何东西,直到我部署所有内容,然后文件才显示出来。创建目录似乎很奇怪,但是在上传阶段没有文件。然后,我的最后一个问题是,这些 Artifact 是仅在此处可用,还是将它们发布到jcenter或maven Central。我说不清楚。

我们正在尝试将Bintray更改为sonatype,因为每次上传时,我们都会在sonatype上遇到异常(最近4天我们一直无法发布)。到目前为止,在Bintray中,每次上传均成功(一次完成176个 Artifact )。

可能我需要更多的东西才能将这些东西发布到jcenter或maven Central?

谢谢,
院长

最佳答案

目前,我确实看到了这些文件。
如果 Artifact 不是published,则只有授权的用户可以查看和下载内容,这意味着未经授权的用户(例如匿名用户)将不会在download repository中看到内容。
您的package未链接到jcenter,因此它们不会自动发布在jcenter上。
我建议include your packages到jcenter。

关于gradle - bintray创建目录声称上传了工件,但它是空白的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60012519/

相关文章:

gradle - 访问 build.gradle 部分插件中的变量

java - 将gradle项目导入Spring Tool Suite会导致依赖项错误

gradle - 使用 mavenDeployer 将存档上传到多个存储库

node.js - 如何将 NodeJS 测试包含到 Gradle 和 Hudson 中?

java - Gradle 和 Bintray 插件 : Cannot cast _Decorated

android - android Studio中的Bintray 502坏网关

java - 在 Gradle 中创建 API 编程变体

android - 使用gradle将jar库发布到bintray

java - 返回码是 : 409, ReasonPhrase:Conflict (JCenter)

java - Bintray gradle 插件不上传 Artifact