big thanks

-D

On Fri, Apr 25, 2008 at 12:25 PM, Tom Huybrechts
<[EMAIL PROTECTED]> wrote:
> One of the arguments to resolve() is an ArtifactRepository object for
> your local repository.
> So you can decide on the base dir of the local repository, but below
> that the default layout would still be used.
> If you want to go even further, you can write your own
> ArtifactRepositoryLayout and use that to create a
> DefaultArtifactRepository.
> Doing that I think you can control the target location completely.
>
>
> On Fri, Apr 25, 2008 at 8:58 PM, Dan Tran <[EMAIL PROTECTED]> wrote:
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]

Reply via email to