incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: latest OSX java update moved maven to version 3
Date Fri, 11 Mar 2011 13:55:40 GMT
Hi Henry,

On Fri, Mar 11, 2011 at 2:47 PM, Henry Story <henry.story@gmail.com> 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

Mime
View raw message