title: How to make reserve-network-port work with maven spring project
body: <p>I am trying to implement reserve-network-port with my maven spring project. </p>
  
  <p>My POM</p>
  
  <pre><code> &lt;plugin&gt;
   &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
          &lt;artifactId&gt;build-helper-maven-plugin&lt;/artifactId&gt;
          &lt;executions&gt;
                  &lt;execution&gt;
                  &lt;id&gt;reserve-network-port&lt;/id&gt;
                  &lt;goals&gt;
                  &lt;goal&gt;reserve-network-port&lt;/goal&gt;
                  &lt;/goals&gt;
                   &lt;phase&gt;generate-sources&lt;/phase&gt;
                   &lt;configuration&gt;
                       &lt;portNames&gt;      
                           &lt;portName&gt;tomcat.http.port&lt;/portName&gt;
                       &lt;/portNames&gt;
                    &lt;/configuration&gt;
              &lt;/execution&gt;
           &lt;/executions&gt;
         &lt;/plugin&gt;
         &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.18&lt;/version&gt;
            &lt;executions&gt;
              &lt;execution&gt;
                 &lt;goals&gt;
                  &lt;goal&gt;verify&lt;/goal&gt;
                 &lt;/goals&gt;
                &lt;configuration&gt;
                 &lt;systemProperyVariables&gt;
                    &lt;build.profile.url&gt;${build.profile.url}&lt;/build.profile.url&gt;
                   &lt;test.server.port&gt;${tomcat.http.port}&lt;/test.server.port&gt;
                 &lt;/systemProperyVariables&gt;
                 &lt;skipTests&gt;${skip.integration.tests}&lt;/skipTests&gt;             
                &lt;/configuration&gt;
              &lt;/execution&gt;
            &lt;/executions&gt;
        &lt;/plugin&gt;
  </code></pre>
  
  <p>${tomcat.http.port} is returning null for me.</p>
  
  <p>I am also getting the prot no reserved when my maven build is started </p>
  
  <pre><code>[INFO] --- build-helper-maven-plugin:1.10:reserve-network-port (reserve-network-port) @ account-service ---
  [INFO] Reserved port 58140 for tomcat.http.port
  </code></pre>