title: Access properties of maven property plugin
body: <p>I included the maven property plugin like proposed in a response to this question <a href="https://stackoverflow.com/questions/3231797/specify-system-property-to-maven-project">Specify system property to Maven project</a>. In order to be able to set my database properties from file (and override it with maven parameters in testing environment). However if I try to access one of the properties via 
      <code>System.getProperty("mysql.url")</code> for example <code>null</code> is returned. How can I access the properties set from set properties goal.</p>
  
  <pre><code>private void initializeDatabaseConfiguration() {
      url = System.getProperty("mysql.url");
      con = DriverManager.getConnection(url, username, password);
  
  }
  
  
     &lt;plugin&gt;
         &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
         &lt;artifactId&gt;properties-maven-plugin&lt;/artifactId&gt;
         &lt;version&gt;1.0-alpha-2&lt;/version&gt;
         &lt;executions&gt;
             &lt;execution&gt;
                 &lt;phase&gt;initialize&lt;/phase&gt;
                 &lt;goals&gt;
                     &lt;goal&gt;set-system-properties&lt;/goal&gt;
                 &lt;/goals&gt;
                 &lt;configuration&gt;
                     &lt;files&gt;                          
                        &lt;file&gt;src/main/resources/config.properties&lt;/file&gt;
                     &lt;/files&gt;
                     &lt;properties&gt;
                         &lt;property&gt;
                             &lt;name&gt;mysql.url&lt;/name&gt;
                             &lt;value&gt;${mysql.url}&lt;/value&gt;
                         &lt;/property&gt;
                     &lt;/properties&gt;
                 &lt;/configuration&gt;
             &lt;/execution&gt;
         &lt;/executions&gt;
     &lt;/plugin&gt;
  </code></pre>