maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Re: Copy an artifact
Date Fri, 08 Oct 2010 18:15:01 GMT
On Fri, Oct 8, 2010 at 2:09 PM, Phillip Hellewell <sshock@gmail.com> wrote:
> On Fri, Oct 8, 2010 at 12:04 PM, Phillip Hellewell <sshock@gmail.com> wrote:
>>
>> The problem I am trying to solve is that I just want to download an
>> artifact to take a quick look at it without having to write a pom.xml
>> file to get it.
>
> I suppose I could just use wget with the repository, e.g., wget
> ${repo}/groupId/artifactId/ver/artifact-ver.zip, but that seems like a
> bad practice since it requires intimate knowledge of how repositories
> are laid out.  Also, I'd need to change "." to "/" in the groupId.
> And there's probably something else I haven't thought of.

I would search or browse for it in Archiva (or your repository
manager) and download it from there -- no need to know the repository
format.

You've already worked out the formula if you want to use wget --
groupId with / instead of ., then artifactId then version.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message