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 <[email protected]> wrote:

On Tue, Dec 1, 2009 at 4:36 PM, Barrie Treloar <[email protected]> wrote:
On Tue, Dec 1, 2009 at 3:35 PM, Anders Hammar <[email protected]> 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: [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