-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Artifactory, Search
-
Labels:None
-
Severity:Medium
-
Location:External
Problem description:
GAVC Search returns artifacts version without "SNAPSHOT".
For Maven Artifact with SNAPSHOT version, Artifactory Dependency Declaration:
<dependency> <groupId>com.testing.jfrog</groupId> <artifactId>testing</artifactId> <version>2.0.7-latest-20220503.105557-1</version> <type>war</type> </dependency>
**When using GAVC Search:
curl "https://artifactory.example.com/artifactory/api/search/gavc?repos=ergo-libs-snapshot-local&specific=true&g=com.testing.jfrog&a=testing"
results:
{ "downloadUri" : "https://artifactory.example.com/artifactory/ergo-libs-snapshot-local/com/testing/jfrog/testing/2.0.7-latest-SNAPSHOT/testing-2.0.7-latest-20220503.105557-1.war", "ext" : "war", "version" : "2.0.7-latest" }
What is the expected behavior?
GAVC search results should include the full version, including:
Base Revision, Folder Integration Revision, File Integration Revision
Steps to reproduce:
- Artifactory 7.38.7
- Deploy Maven Artifact with SNAPSHOT version to a local maven repository
- Run GAVC search:
curl "https://artifactory.example.com/artifactory/api/search/gavc?repos=ergo-libs-snapshot-local&specific=true&g=com.testing.jfrog&a=testing"