Switch easily between maven-2 and maven-3 builds on Windows -
i have following use case: using maven-3 build of projects, have projects built maven-2 too. because on windows, annoying edit m2_home system variable point maven-2 or maven-3 installation dir depending on maven have use in order build project.
is there better way of switching between maven-2 , maven-3 on windows?
it turned out have declared m2_home variable under system variables. post http://maven.40175.n5.nabble.com/why-does-maven-3-still-use-the-m2-home-variable-td4611146.html helped me understand can use maven_home pointing maven-3 installation dir, , refer maven-2 specifying path bin dir better solution switching between maven-2 , maven-3 in environments variables section
Comments
Post a Comment