Blankman
Blankman

Reputation: 267010

Can you run both maven1 and maven2 at the same time?

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?

Upvotes: 2

Views: 239

Answers (2)

Pascal Thivent
Pascal Thivent

Reputation: 570345

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.

Upvotes: 2

Fazal
Fazal

Reputation: 3051

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

Upvotes: 2

Related Questions