title: How does Maven determine the order goals run in within a given phase?
body: <p>I understand that Maven has a number of phases that run in the order they are defined for a given <a href="http://en.wikipedia.org/wiki/Apache_Maven#Build_Lifecycles" rel="noreferrer">lifecycle</a>, and that you can attach goals to a phase.</p>
  
  <p>What happens when you attach a number of goals to a phase, how does Maven determine what order to run the goals in?</p>