2

Is it possible to have both versions of maven running on the same computer?

From what I understand you have to setup environmental variables for both of them, so won't that conflict?

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
Blankman
  • 259,732
  • 324
  • 769
  • 1,199

2 Answers2

2

It is possible. Checkout http://maven.apache.org/guides/mini/guide-m1-m2.html

Fazal
  • 2,991
  • 7
  • 29
  • 37
2

From what I understand you have to setup environmental variables for both of them, so won't that conflict?

No, because they don't use the same environment variables (MAVEN_HOME and M2_HOME) and the executable have different names (maven and mvn). So no conflicts.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124