archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cooper <John.Coo...@smartfocus.com>
Subject Search does not return .war artifacts
Date Tue, 21 Apr 2015 16:05:47 GMT
Hi, I've successfully deployed my snapshot  .war files to Archiva 2.2.0 and I can wget/curl
them using the direct http address. When I try to use the API to retrieve the latest version
only POMs with packaging=jar  are found (version 0.1-SNAPSHOT) and download ok.

curl -i -o s3-util.jar -L -u user:password http://localhost/restServices/archivaServices/searchService/artifact?r=snapshots&g=com.company.backup&a=s3-util&v=LATEST

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  333k  100  333k    0     0  3538k      0 --:--:-- --:--:-- --:--:-- 3538k

Trying the same for a war packaging doesn't find anything

curl -i -o s3-util.jar -L -u user:password "http://localhost/restServices/archivaServices/searchService/artifact?r=snapshots&g=com.company.backup&a=s3-util&v=LATEST"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Am I missing something?

Thanks, John.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message