You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ha...@AFSCN.com on 2005/06/08 01:12:24 UTC

[m1] Plugin:Install not installing until Plugin:uninstall

I use the following batch file to build and install my plugin:

@echo on
cls
call maven plugin:install
if %ERRORLEVEL% NEQ 0 goto failed
call maven plugin:repository-install
if %ERRORLEVEL% NEQ 0 goto failed
call maven plugin:repository-deploy
:failed

After successfully running it (all the maven jobs run successfully) I run
maven -g to see if the plugin is installed.  The plugin does not show up on
the list.

I then run maven plugin:uninstall and the batch job again.  This time when I
run maven -g the plugin's goals show up in the list.

Do you have to uninstall before installing an update?
 
Bud Curtis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m1] Plugin:Install not installing until Plugin:uninstall

Posted by Brett Porter <br...@gmail.com>.
No, this doesn't sound correct. Does it happen every time?

- Brett

On 6/8/05, Harrison.Curtis@afscn.com <Ha...@afscn.com> wrote:
> I use the following batch file to build and install my plugin:
> 
> @echo on
> cls
> call maven plugin:install
> if %ERRORLEVEL% NEQ 0 goto failed
> call maven plugin:repository-install
> if %ERRORLEVEL% NEQ 0 goto failed
> call maven plugin:repository-deploy
> :failed
> 
> After successfully running it (all the maven jobs run successfully) I run
> maven -g to see if the plugin is installed.  The plugin does not show up on
> the list.
> 
> I then run maven plugin:uninstall and the batch job again.  This time when I
> run maven -g the plugin's goals show up in the list.
> 
> Do you have to uninstall before installing an update?
> 
> Bud Curtis
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org