title: How do I change the module type in IntelliJ
body: <p>I have created a project from maven using mvn idea:idea. I recreate the project whenever there is a significant change to the pom files. </p>
  
  <p>Sometimes after recreating, when I open IntelliJ it tells me that the modules have an unknown type so they will be treated as Unknown Modules. </p>
  
  <ol>
  <li>How do I changes these modules to be the proper type?</li>
  <li>Can anyone direct me to documentation about how to specify the module type so that idea:idea will generate the modules properly?</li>
  </ol>
  
  <p>Thanks :)</p>