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".
/Anders On Mon, Nov 30, 2009 at 23:10, Jeff French <[email protected]> wrote: > > I'm using the antrun plugin to let developers run an application after it > has > been packaged. So far I can only run it like so: > > mvn antrun:run > > but would like to use a more appropriate name like: > > mvn run-server > > Is there a way to assign a unique name? > > Thanks. > > Jeff > -- > View this message in context: > http://old.nabble.com/Can-you-assign-a-different-name-id-to-an-antrun-goal--tp26582911p26582911.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
