-
Notifications
You must be signed in to change notification settings - Fork 281
Closed
Description
I have a virtual repo to aggregate Maven Central and our internal Maven artifacts. There is a settings.xml deployed in a local repo that is included in the virtual repo. Downloading the settings.xml with jfrog-cli finds no artifacts using the virtual repo, but succeeds using the actual repo. Downloading from the virtual repo with curl works fine.
C:\Users\jgeorgeson\Downloads
> jfrog rt download maven-virtual/settings.xml
Pinging Artifactory...
Searching Artifactory using AQL query: items.find({"repo": "maven-virtual","$or": [{"$and": [{"path": {"$match":"*"},"name":{"$match":"settings.xml"}}]}]})
Artifactory response: 200 OK
Downloaded 0 artifacts from Artifactory.
C:\Users\jgeorgeson\Downloads
> jfrog rt download maven-local/settings.xml
Pinging Artifactory...
Searching Artifactory using AQL query: items.find({"repo": "maven-local","$or": [{"$and": [{"path": {"$match":"*"},"name":{"$match":"settings.xml"}}]}]})
Artifactory response: 200 OK
[Thread 0] Downloading http://artprod.example.com/artifactory/maven-local/settings.xml
[Thread 0] Artifactory response: 200 OK
Downloaded 1 artifacts from Artifactory.
C:\Users\jgeorgeson\Downloads
> curl -u jgeorgeson http://artprod.example.com/artifactory/maven-virtual/settings.xml -o settings2.xml
Enter host password for user 'jgeorgeson':
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3831 100 3831 0 0 40755 0 --:--:-- --:--:-- --:--:-- 81510
C:\Users\jgeorgeson\Downloads
> fc settings.xml settings2.xml
Comparing files settings.xml and SETTINGS2.XML
FC: no differences encountered
C:\Users\jgeorgeson\Downloads
>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels