title: How to inherit application.properties in Spring?
body: <p>If I create a commons library having an <code>application.properties</code> defining common configurations. Like:</p>
  
  <p><code>spring.main.banner-mode=off</code></p>
  
  <p>How can I inherit these properties into another project where I include those commons library?</p>
  
  <p>Maven:</p>
  
  <pre><code>&lt;project ...&gt;
      &lt;groupId&gt;de.mydomain&lt;/groupId&gt;
      &lt;artifactId&gt;my-core&lt;/artifactId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;!-- this one holds the common application.properties --&gt;
              &lt;groupId&gt;my.domain&lt;/groupId&gt;
              &lt;artifactId&gt;my-commons&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>How can I inherit the configuration from <code>my-commons</code> to  <code>my-core</code>?</p>