title: SpringBoot maven build war using specific application.properties
body: <p>I have a Spring Boot application with has three <code>application.properties</code> files :</p>
  
  <ol>
  <li>application.properties </li>
  <li>application-qa.properties</li>
  <li>application-prod.properties</li>
  </ol>
  
  <p>I want build a war using maven by using one of the properties depending on the environment the application with be deployed too i.e <code>dev</code>, <code>qa</code> or <code>prod</code>. </p>
  
  <p>How can I do this. I'm pretty new to Spring Boot.</p>