2
我正在使用Maven版本2.2.1和Artifactory 3.5.2.1.Jenkins構建失敗,錯誤:Jenkins錯誤:存儲庫中沒有任何版本,其範圍爲[1.4,)commons-beanutils:commons-beanutils:jar:null
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range [1.4,)
commons-beanutils:commons-beanutils:jar:null
from the specified remote repositories:
central (http://myartifactory.com/PROJECT_REPO-virtual),
snapshots (http://myartifactory.com/PROJECT_REPO-virtual)
Path to dependency:
1) org.codehaus.mojo:jasperreports-maven-plugin:maven-plugin:1.0-beta-2
2) jasperreports:jasperreports:jar:1.2.0
我已經加入該項目的Nexus倉庫中Artifactory的遠程倉庫,但仍然建立失敗,上述錯誤。 如果我在pom文件中添加項目的nexus存儲庫,相同的構建會成功。
任何建議表示讚賞。
請向我們展示您的'pom.xml'和'settings.xml'文件。另外,爲什麼你使用'commons-beanutils'的版本範圍......? – carlspring
我在Bamboo中得到了同樣的錯誤,我更新了使用Maven 3的計劃並且它工作正常。 – user2953113