title: How to externalize application.properties files in Spring Boot to e.g. external dependent JAR?
body: <p>I have a simple Maven module (not a Spring Boot application) in which I have placed my <code>application.properties</code> file.</p>
  
  <p>I have 6-7 Spring Boot applications and I don't want to have an <code>application.properties</code> file in each and every application directory. I prefer it, if it is at one single place (external Maven module).</p>
  
  <p>I am adding the maven module as a dependency in each of those Spring Boot application poms.</p>
  
  <p>But, when I run those applications, it is not able to auto-detect the <code>application.properties</code> file because it is coming from a dependent jar not present physically in each of their application directories.</p>
  
  <p>Is there any way to make this possible? I would like to avoid having properties files in 6-7 different locations, because that becomes tough to manage and handle.</p>
  
  <p>Thank you in advance!</p>