1

I found that maven2 install is via apt-get and maven3 is manual, but i could not find any information on how i an install maven3 without uninstalling maven2

kamal
  • 151

2 Answers2

2
  • Download maven and extract it to a folder (eg /opt/maven3)
  • Add maven link to PATH : ln -s /opt/maven3/mvn /usr/local/bin/mvn3

Use maven3 with mvn3 command, and maven2 with mvn command.

bbaja42
  • 3,031
0

Checkout my post here for the manual MVN 3 installation. There is also an answer on how to install it automatically.

AmirHd
  • 131