title: how to get parameter value from pom.xml via config.properties
body: <p>I want to receive the link specified in a <code>pom.xml</code> through a <code>config.properties</code></p>
  
  <p>I have:</p>
  
  <pre><code>&lt;properties&gt;
           &lt;site_url&gt;https://biz-trunk.rts-tender.ru/&lt;/site_url&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>in <code>pom.xml</code>,</p>
  
  <pre><code>site_url = ${site_url}
  </code></pre>
  
  <p>in <code>config.properties</code>,</p>
  
  <pre><code>private Properties properties = new Properties();
  public void loadConfig() {
      InputStream input = null;
      try {
          input = new FileInputStream(getPropertiesFileName());
          properties.load(input);
      } catch (IOException ex) {
          ex.printStackTrace();
      } finally {
          if (input != null) {
              try {
                  input.close();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
      }
  }
  </code></pre>
  
  <p>to download config and this</p>
  
  <p><a href="https://i.stack.imgur.com/0Tq0R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Tq0R.png" alt="enter image description here"></a></p>
  
  <p>Why???</p>
  
  <p><a href="https://i.stack.imgur.com/So2hH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/So2hH.png" alt="enter image description here"></a></p>
  
  <p>Why is it not working???</p>