On Fri, Oct 8, 2010 at 2:09 PM, Phillip Hellewell <[email protected]> wrote: > On Fri, Oct 8, 2010 at 12:04 PM, Phillip Hellewell <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
