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?

Answers


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.


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


Need Your Help

How can I reliably check for Google Analytics?

javascript firefox google-analytics

It used to be so simple - this was all that was needed to ensure you could go ahead and track a user's click or whatever: