Reinhard is correct, you should bind your upload goal to a phase that
only activated via release profile.

Release plugin does not know about command line goals, but only a phase goal.

-D

On Tue, Jun 9, 2009 at 12:56 AM, Reinhard
Nägele<[email protected]> wrote:
> I guess it should work, yes. At least I would not know why it doesn't.
>
> If you don't want the suggested execution to happen on every install, you can 
> wrap it into a profile that is only activated for releases.
>
> Reinhard
>
>
> -----Original Message-----
> From: Trevor Harmon [mailto:[email protected]]
> Sent: Tuesday, June 09, 2009 9:51 AM
> To: Maven Users List
> Subject: Re: wagon:upload fails only with release:perform
>
> On Jun 9, 2009, at 3:26 AM, Reinhard Nägele wrote:
>
>> Have you tried to create an execution for the wagon plugin that is
>> bound to the install phase instead of adding the wagon:upload to the
>> release plugin goals?
>
> No, because the wagon:upload goal is uploading files produced by the release 
> plugin, and if I'm only doing an install, the release files might not be 
> there (e.g., because of a clean). Also, even if the files were there, I don't 
> want to upload a bunch of files to a remote server every time I do an 
> install. That would really slow down my development cycle.
>
> Shouldn't it work the way I'm doing it now?
>
> Trevor
>
>
> ---------------------------------------------------------------------
> 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