title: Maven run/debug configurations in Intellij
body: <p>I have been using eclipse for some long time. I have previously decided to switch to intellij. There is however a feature in eclipse that I miss. When using maven, I used to have a maven clean install run config saved under my run configs. And have the base directory as ${project_loc}.</p>
  
  <p><a href="https://i.stack.imgur.com/eX8OI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eX8OI.png" alt="enter image description here"></a></p>
  
  <p>Thus when i select the project from the project explorer, I can run the maven config on it. I have found in intellij the create/run configuration dialog which has the working directory field. </p>
  
  <p>My question is how can i configure this field to get the same effect as eclipse's ${project_loc} variable?</p>