Maven 3.3.1 Config Error in IntelliJ Idea 14

前端 未结 8 1852
臣服心动
臣服心动 2020-12-13 13:48

I got the maven .tar file from http://maven.apache.org/download.cgi, and installed it to the path /usr/local/. I run the mvn -version command in the new window, the output i

8条回答
  •  盖世英雄少女心
    2020-12-13 14:34

    This thread is important thread and very useful so I added this solution to it. I added this line to maven runner and it works with me

        -Dmaven.multiModuleProjectDirectory=$M2_HOME
    

    Noting that, M2_HOME is defined in the environment variables for maven home in case of windows OS.

提交回复
热议问题