[英]Trouble downloading non-JCenter artifacts from bintray
My organization is attempting to release some open source into this world and we are starting with some of our libraries. 我的组织正在尝试向这个世界发布一些开放源代码,并且我们从一些库开始。 Currently what I have is published some artifacts into the organization's location. 目前,我所拥有的已发布了一些工件到组织的位置。 They are available here and can be seen here: 它们在这里可用,可以在这里看到:
They are not currently linked to JCenter, because I am OK for now using the explicit repo provided. 它们当前未链接到JCenter,因为我现在可以使用提供的显式存储库了。
However any attempt to resolve them through maven results in: 但是,通过Maven解决它们的任何尝试都会导致:
http://dl.bintray.com/bds/sdk/ http://dl.bintray.com/bds/sdk/
[ERROR] Failed to execute goal on project protex-plugin-integration: Could not resolve dependencies for project com.blackducksoftware.plugins:protex-plugin-inte gration:jar:1.1.1: The following artifacts could not be resolved: com.blackducksoftware.protex:protex-sdk-client:jar:6.4.2, com.blackducksoftware.protex:protex- sdk-utilities:jar:6.4.2: Could not find artifact com.blackducksoftware.protex:protex-sdk-client:jar:6.4.2 in bintray-bds-sdk ( http://dl.bintray.com/bds/sdk ) -> [Help 1] [错误]无法对项目protex-plugin-integration执行目标:无法解决项目com.blackducksoftware.plugins:protex-plugin-inte gration:jar:1.1.1的依赖项:无法解决以下工件:com。 blackducksoftware.protex:protex-sdk-client:jar:6.4.2,com.blackducksoftware.protex:protex- sdk-utilities:jar:6.4.2:找不到工件com.blackducksoftware.protex:protex-sdk-client: jar:6.4.2在bintray-bds-sdk( http://dl.bintray.com/bds/sdk )-> [帮助1]
This is odd to me since the files are definitely visible via said URL. 这对我来说很奇怪,因为通过上述URL绝对可以看到文件。
Is what I am doing impossible and I must submit to JCenter and be accepted first? 我正在做的事情是不可能的吗,我必须提交给JCenter并首先被接受?
The pom contains: pom包含:
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-bds-sdk</id>
<name>bintray</name>
<url>http://dl.bintray.com/bds/sdk</url>
</repository>
</repositories>
Your repository is well configured in the POM, but the error reported is true: In the http://dl.bintray.com/bds/sdk/com/blackducksoftware/protex/protex-sdk-client/6.4.2
location you cannot find the protex-sdk-client-6.4.2.jar
library; 您的存储库在POM中配置正确,但是报告的错误为true:在http://dl.bintray.com/bds/sdk/com/blackducksoftware/protex/protex-sdk-client/6.4.2
位置中,您无法找到protex-sdk-client-6.4.2.jar
库; the only existing JAR file has the version missing in its name. 现有的唯一JAR文件的名称中缺少版本。
You should review the deployment procedure: For some reason (maybe the finalName
, or some other parametrization in the maven-jar-plugin), the library is being published without the version suffix. 您应该查看部署过程:由于某种原因(可能是finalName
或maven-jar-plugin中的某些其他参数化),该库在发布时没有版本后缀。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.