javamaven-2mavenmaven-1

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?


Solution

  • 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.