title: IntelliJ IDEA: Maven, project compilation and deployment
body: <p>Can someone explain me IntelliJ IDEA's workflow of compilation, deployment and packaging with binded maven project ?</p>
  
  <p>I've encountered some misunderstanding when I'm starting tomcat server via IDEA's debug mode. For example I have one artifact - war archive. 
  As I understand when I'm running debug mode - IDEA recompiles and updates changed code into war-archive.</p>
  
  <p>But what happens with packaged maven artifact ? Does IntelliJ updates it ? Or I have to set 'Buld maven before startup' option to be sure that changed code will be uploaded to environment ?</p>