title: How can I override a property from the command line in my spring webapp
body: <p>I have this property setup</p>
  
  <pre><code>&lt;bean id="preferencePlaceHolder"
        class="org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer"&gt;
      &lt;property name="locations" ref="propertiesLocations" /&gt;
  &lt;/bean&gt;
  &lt;beans profile="dev, testing"&gt;
      &lt;util:list id="propertiesLocations"&gt;
          &lt;value&gt;classpath:runtime.properties&lt;/value&gt;
          &lt;value&gt;classpath:dev.properties&lt;/value&gt;
      &lt;/util:list&gt;
  &lt;/beans&gt;
  ...
  </code></pre>
  
  <p>There is a property in runtime.properties like so</p>
  
  <pre><code>doImportOnStartup=false
  </code></pre>
  
  <p>I would like to occasionally do this</p>
  
  <pre><code>mvn jetty:run -DdoImportOnStartup=true
  </code></pre>
  
  <p>and have the system property take precedence. How can I achieve this? Thanks.</p>