title: How to acces POM project name from properties file
body: <p>I have <code>logback.properties</code> file which contains the following properties.</p>
  
  <pre><code>#logging
  logging.server=
  logging.port=
  logging.path=/opt/${project.name}/logs
  </code></pre>
  
  <p>Inside my <code>POM</code> file I've got the <code>&lt;name&gt;</code> tag, which specifies the project name. I'd like to inject this name in few properties files like the <code>lockback</code> one above. Doing the above results in creating a folder called <code>project.name_IS_UNDEFINED</code>. Is it possible to access the project name and how?</p>
  
  <p><strong>UPDATE</strong>
  Ralph gave the correct answer, however check my comment, because for spring boot applications you need to used <code>%project.name%</code> instead of <code>${project.name}</code>!</p>