开发者

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

开发者 https://www.devze.com 2022-12-24 23:47 出处:网络
Is it possible to have both versions of maven running on the sam开发者_StackOverflow社区e computer?

Is it possible to have both versions of maven running on the sam开发者_StackOverflow社区e computer?

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消