archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Mylonas <>
Subject Re: simple download url?
Date Mon, 20 Feb 2012 21:43:11 GMT
Hi Greg,

I'm sure there is a way and you'll have to wait for an archiva dev to get back to you but
as an alternative there is the maven-metadata.xml file which you could parse to get the values.
Has the details for the client-2.0-SNAPSHOT.jar

Here are the files in the directory:
and the actual repo view
if you can call it that.

Are you just using bash scripts to do some packaging/deploying/testing?
Maybe just wget that maven-metadata.xml file and grep build number and timestamp and construct
the URL from that?


On 21/02/2012, at 7:54 AM, Greg Foreman wrote:

> Is there a simple URL for downloading an artifact?  I know this URL returns
> the artifact page:
> http://<host>:<port>/archiva/browse/<groupId>/<artifactId>/<version>
> But is there a URL for fetching the artifact (WAR file in this case)
> without having to know the associated timestamp extension? Like:
> http://
> <host>:<port>/archiva/browse/<groupId>/<artifactId>/<version>/<mywebapp>.war
> I would like to incorporate a simple wget into my deploy process without
> having to provide the exact timestamp info.

View raw message