Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.1.3
-
None
-
None
-
Apache Ant version 1.7.1
Artifactory 2.6.6
Description
This issue manifests when using a version range.
<artifact:dependencies pathId="remoteexec.classpath"> <dependency groupId="xyz" artifactId="remoteexec" version="[1.3]"/> </artifact:dependencies>
produces this failure:
[artifact:dependencies] Downloading: xyz/remoteexec/1.3/remoteexec-1.3.pom from repository central at http://localhost:8081/artifactory/libs-release [artifact:dependencies] Transferring 3K from central [artifact:dependencies] Downloading: xyz/remoteexec/1.3/remoteexec-1.3.jar from repository snapshots at http://localhost:8081/artifactory/libs-snapshot [artifact:dependencies] Unable to locate resource in repository
While the POM is correctly retrieved from lib-release-local, getting the JAR from libs-snapshot-local obviously must fail.
When setting the version to "1.3" the dependency is resolved correctly.