【发布时间】:2016-01-28 04:20:21
【问题描述】:
我尝试从公共 adobe 存储库中获取一些特定版本的 jar:
<dependency>
<groupId>com.adobe.granite</groupId>
<artifactId>com.adobe.granite.asset.api</artifactId>
<version>2.0.4</version>
</dependency>
我可以在存储库中看到 3 个版本:
- 1.4
- 1.6
- 2.0.4
但是 Maven 只能获取 1.4 和 1.6,当我尝试获取 2.0.4 时,maven 会抛出异常:
Failed to read artifact descriptor for com.adobe.granite:com.adobe.granite.asset.api:jar:2.0.4.
有人知道我错过了什么吗?
【问题讨论】:
-
你能发布 Maven 给出的整个错误吗?
-
我想我明白哪里出了问题。 com.adobe.granite.asset.api-2.0.4.pom 使用
<parent><groupId>com.adobe.granite</groupId><artifactId>parent</artifactId><version>33</version><relativePath/></parent>但这个父级在 adobe 存储库中不存在。 -
那么,在我的情况下,我必须下载所需版本的可用 jar 并将其提供给我的项目?
标签: java maven dependencies repository aem