It turns out I need to instantiate a new ArtifactRepository with a new basedir ( the built-in localRepository does not allow me to change the basedir, ie not setting method )
Any clue on how to create what I need? Thanks -D On Fri, Apr 25, 2008 at 12:51 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > If you wanted to create a new repository layout implementation, you could > probably create a new ArtifactRepository instance with this layout and hand > it to the resolver. > > -----Original Message----- > From: Mark Struberg [mailto:[EMAIL PROTECTED] > Sent: Friday, April 25, 2008 1:53 PM > To: Maven Users List > Subject: Re: API to figure out the exact URL of a deployed artifact? > > > Problem is that (as far as i know) the ArtifactResolver asks the 'local > Repository' to give you > the artifact. And wagon and other mechanisms in the background perform all > the necessary work to > get the file to your local repo first. > But this is exactly what Dan tries to avoid! > The file must not be in the local repo, since this would blew it up. > > LieGrü, > strub > > --- Tom Huybrechts <[EMAIL PROTECTED]> schrieb: > > Unless I'm missing something, you could just use an ArtifactResolver. > > See section "Creating and resolving an artifact" in the mojo developer > > cookbook. > > > > http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook > > > > Tom > > > > On Fri, Apr 25, 2008 at 5:20 AM, Dan Tran <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > I would like to write a generic mojo to download a deployed artifact > > > with given groupId, artifactId, and version as params. For snapshot, > > > i like to get the latest one. > > > > > > I spent some times with deploy plugin hoping for a clue but not > > > finding any thing yet. > > > > > > Suggestions are greatly appreciated. > > > > > > Thanks > > > > > > -Dan > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > __________________________________________________________ > Gesendet von Yahoo! Mail. > Mehr Möglichkeiten, in Kontakt zu bleiben. http://de.overview.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
