maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Can you assign a different name/id to an antrun goal?
Date Tue, 01 Dec 2009 06:59:47 GMT
unless your profile specifies a defaultGoal of validate and you bind  
your execution to the validate phase (hack)

Sent from my [rhymes with tryPod] ;-)

On 1 Dec 2009, at 06:07, Barrie Treloar <baerrach@gmail.com> wrote:

> On Tue, Dec 1, 2009 at 4:36 PM, Barrie Treloar <baerrach@gmail.com>  
> wrote:
>> On Tue, Dec 1, 2009 at 3:35 PM, Anders Hammar <anders@hammar.net>  
>> wrote:
>>> No. The syntax is
>>>  mvn phase
>>> or
>>>  mvn plugin:goal
>>>
>>> But you could create a shell script/bat file with a better name  
>>> which
>>> executes "mvn antrun:run".
>>
>> Or you could use a profile.
>>
>> mvn -Prun-server
>>
>> where the profile would invoke your antrun:run goal.
>
> Buuuut it will still run the default lifecycle, so it may not work the
> way you want afterall.
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message