title: Maven install and deploy
body: <p>I have some doubt regarding our setup in our ci server.
  The maven command used to build applications is configured in bamboo as <strong>"mvn install deploy"</strong>.</p>
  
  <p>As of my understanding this would invoke all phases up to <strong>"install"</strong> and then invoke all phases again up to <strong>"deploy"</strong>, which would mean and as I can see in our logs, that the applications are build twice (twice compile, twice test) etc.. Which also means that the applications takes almost twice as long to build as needed. </p>
  
  <p>All that's needed is <strong>"mvn deploy"</strong> to correctly build the applications.</p>
  
  <p>Is my understanding/observation correct?</p>