title: Remove key from default profile yml in Spring Boot
body: <p>I have a Spring Boot <code>application.yml</code> file structured as:</p>
  
  <pre><code>mapValues:
      key1: value1
      key2: value2
  </code></pre>
  
  <p>Now I want to run the application in another profile where those key/value should be replaced with different keys in <code>application-profile.yml</code> as:</p>
  
  <pre><code>mapValues:
      key3: value3
      key4: value4
  </code></pre>
  
  <p>Spring seems to be merging these two yml profiles automatically and the application sees:</p>
  
  <pre><code>mapValues:
      key1: value1
      key2: value2
      key3: value3
      key4: value4
  </code></pre>
  
  <p>I do not want to keep <code>key1</code> and <code>key</code>, instead just keep <code>key3</code> and <code>key4</code>. How can this be achieved? </p>