title: how to pass application.properties in commandLine for a spring boot application?
body: <p>I have a <code>spring boot</code> application and I want to pass <code>application.properties</code> file in <code>commandLine</code> when I <code>start-up</code>.</p>
  
  <p>i.e when I run <code>mvn spring-boot:run --application.properties</code></p>
  
  <p>I will have a default application.properties in <code>src/main/resources</code>. but that is only for <code>testing</code> purposes. In the <code>production</code> run, I would like to pass the <code>property file</code> in <code>commandLine.</code></p>
  
  <p>I am aware of passing single arguments such as</p>
  
  <p><code>mvn spring-boot:run --server.port=9001</code>.</p>
  
  <p>But I have many such properties and would prefer to pass a property file if that is possible.</p>