Intellij Maven Isssue, mvn Command is not taken from the right directory
已回答
请先登录再写评论。
Hello,
Changing the default command line is not possible at the moment. Feel free to vote for IDEA-244512 to have it implemented.
See this article if you are not familiar with YouTrack.
any idea(:p), where this is could be hardcoded in the idea repo, I want this feature atleast for me, I can try to modify and build from github atleast for now..
I'll check internally and let you know.
Hi Vivek12895
Idea do not use mvn script to run maven locally, instead it form java command line for maven. This is caused by historic reasons and for proper control of maven lifecycles.
You can look to org.jetbrains.idea.maven.execution.MavenExternalParameters#createJavaParameters - in this method Idea creates command line to launch maven