can I get ArtifactResolver.resolve() to download the artfiact to some other location then local repo?
-D On Fri, Apr 25, 2008 at 11:36 AM, Tom Huybrechts <[EMAIL PROTECTED]> wrote: > No, ArtifactResolver.resolve() will actually download the artifact using > Wagon. > > > > On Fri, Apr 25, 2008 at 7:52 PM, Mark Struberg <[EMAIL PROTECTED]> wrote: > > 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]