Hi Henry,

On Fri, Mar 11, 2011 at 2:47 PM, Henry Story <[email protected]> wrote:
> $ mvn --version
> Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)

You can easily install several versions of Maven and switch between
them, basically you install (unarchive only, no real installation
needed) one copy of Maven 2 and another of Maven 3 in separate
folders, and then define shell aliases like

alias mvn2="$HOME/lib/maven/apache-maven-2.2.1/bin/mvn"
alias mvn3="$HOME/lib/maven/apache-maven-3.0.2/bin/mvn"

And then use either the mvn2 or mvn3 aliases to run your builds.

-Bertrand

Reply via email to