title: Opened a source dir as Gradle project with IntelliJ but it's a maven project
body: <p>I have a java source folder with a <code>build.gradle</code> and <code>pom.xml</code>. </p>
  
  <p>I use the <code>idea</code> bash script to open that folder with IntelliJ IDEA and IDEA imports the project as a gradle projecte, but the <code>build.gradle</code> is used for other tasks and it's not a gradle project. </p>
  
  <p>It's a maven porject with a <code>pom.xml</code>. </p>
  
  <p>How can I reimport the project as a maven project?</p>