title: How to read an external properties file in Maven
body: <p>Does anyone know how to read a x.properties file in Maven. I know there are ways to use resource filtering to read a properties file and set values from that, but I want a way in my pom.xml like:</p>
  
  <pre><code>&lt;properties file="x.properties"&gt; 
  
  &lt;/properties&gt;
  </code></pre>
  
  <p>There was some discussion about this:
  <a href="http://www.mail-archive.com/users@maven.apache.org/msg70112.html" rel="noreferrer">Maven External Properties</a></p>