Why do we need to define MAVEN_HOME and M2_HOME environment variables while both locate the same location till Bin folder?
Asked
Active
Viewed 643 times
0
-
yes you are correct, i got my answer, thanks. – jchaturvedi Feb 07 '18 at 06:55
-
2If you are using Maven 3+ you should not use M2_HOME nor MAVEN_HOME anymore and it is not necessary. Only the bin path of the Maven installation must be in PATH nothing more... – khmarbaise Feb 07 '18 at 07:48
-
Thanks for reply. – jchaturvedi Feb 08 '18 at 03:06