I've seen other people doing this by creating their own batch/shell scripts in the project directory eg mvn-release.bat and mvn-release.sh.
We actually used to do this with Ant since we could never remember the various targets we wanted. Wayne On 1/8/08, nicolas de loof <[EMAIL PROTECTED]> wrote: > Hello, > > To release my project I need to call a rather complex maven command : > "mvn install assembly:attached com.mycompany:myplugin:post-goal" > > I'd like to provide in my corporate POM some "macro command" to define > custom goals / lifecycle phases to run such commands. > > example : "mvn release" to create the release. > > Is there any way to create such macro-commands with maven, when the standard > lifecycle is not enough ? I don't thing so, but maybe some combination of > profiles and invoker plugin could help ? > > Nico. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]