The copy goal can take them directly in the plugin config (not requiring
a dependency declaration). It should be completely possible to modify
the plugin to take a string from the cli.

-----Original Message-----
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 24, 2008 11:39 PM
To: Maven Users List
Subject: Re: API to figure out the exact URL of a deployed artifact?

to use dependency plugin, user have to declare the artifact as
dependency.  for my case, I would like to
allow user to pass them  in as -D properties

do you think we can overwrite the dependency value as properties?  any
how let me try this method first.

Thanks

-D


On Thu, Apr 24, 2008 at 8:29 PM, Brian E. Fox <[EMAIL PROTECTED]>
wrote:
> How is that different than the dependency:copy where it takes all
those
> things?
>
>
> -----Original Message-----
> From: Dan Tran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 24, 2008 11:20 PM
> To: Maven Users List
> Subject: API to figure out the exact URL of a deployed artifact?
>
> 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]
>
>

---------------------------------------------------------------------
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