I made something similar to help setup on my project : running mvn -Psetup execute all required goals to prepare the developer env, in my case a fast build (skipTests=true, compiler fail=false) + eclipse:eclipse
This is done using a custom setup profile, that set default goal, some properties and the required plugins. Nico. 2008/6/13 Brian E. Fox <[EMAIL PROTECTED]>: > To me, it seems to detract from the intent of having a well known set of > phases so once you know maven, you can pick up any maven build. It reeks > of scripting... > > -----Original Message----- > From: Jason Dillon [mailto:[EMAIL PROTECTED] On Behalf Of Jason > Dillon > Sent: Friday, June 13, 2008 11:11 AM > To: Maven Developers List > Subject: Pom user-configured goal+phase aliases > > Just had a thought, would be nice if the pom exposed someway to define > aliases for a set of goals/phases. > > This would allow project specific names to be used to invoke a set of > standard maven phases or a set of plugins. > > Like I might want o have a "release" alias, which actually invokes: > > mvn clean release:prepare release:preform > > Or a "rebuild" alias which actually invokes: > > mvn clean install > > With pom configuration something like: > > ----8<---- > <project> > <build> > <goalAliases> > <goalAlias> > <name>rebuild</name> > <goals> > <goal>clean</goal> > <goal>install</goal> > </goals> > </goalAlias> > </goalAliases> > </build> > </project> > ---->8---- > > Just a thought... > > --jason > > --------------------------------------------------------------------- > 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] > >