I'm trying to setup an external tool running command mvn clean install in a directory where some pom.xml file exists.
Current settings for tool are:
Parameters: clean install
Working directory: $ModuleFileDir$
But when i try to start it idea shows an error (path was replaced from the real one, hope it would not confuse anyone :) )
Error running maven: Cannot run program "mvn" (in directory "$homedir/$workdir/$projectdir"): error=2, No such file or directory
BUT, if i select the very same path from error window in idea and run a cd command from linux terminal, it correctly switches me to the specified path where i can run mvn clean install smoothly.
Would u please suggets me some ways to get this fixied or any other ways to run mvn clean install from currently selected or opened pom.xml in project structure window?
Thx in advance.