Hi,

Unfortunately, as you've already found out, the URL is not included in the
artifact object returned using XML-RPC. You can construct it though using
the repositoryId, groupId, artifactId, version and type from the artifact
object. The URL should have the following format:

http://
[hostname]:[port]/archiva/[repositoryId]/[groupId]/[artifactId]/[version]/[artifactId]-[version].[type]

ex.
http://localhost:8080/archiva/internal/org/apache/archiva/archiva-webdav/1.3/archiva-webdav-1.3.jar

Make sure that you replace the '.' characters in the groupId info with '/'
:)

HTH,
Deng

On Mon, Jan 25, 2010 at 9:31 PM, Dumont, Francois <
[email protected]> wrote:

> Hello,
>
> I'm wondering how I could retrieve the full URL of a jar on Archiva when
> using the XML-RPC? I can get information about an articfact but not the URL.
> Is there a rule with which I could maybe construct that URL?
>
> Cheers,
>
> F.
>

Reply via email to