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]

Reply via email to