title: Maven Settings XML Plugin
body: <p>I have numerous tests which need to be ran on a websphere web server, before each test I want to restart the server. In my test projects pom I can use:</p>
  
  <pre><code>&lt;plugin&gt;
                      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                      &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;1.2&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;phase&gt;pre-integration-test&lt;/phase&gt;
                              &lt;id&gt;startServer&lt;/id&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;exec&lt;/goal&gt;
                              &lt;/goals&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                      &lt;configuration&gt;
                          &lt;executable&gt;start.bat&lt;/executable&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  </code></pre>
  
  <p>The issue here being that I have multiple projects, each with profiles for various functionality. I want to move this into the maven settings.xml so that the profiles are transparent to the individual tests and only ever ran based on environment variables provided by jenkins.</p>
  
  <p>It seems as though I can not use plugins in the maven settings xml. Is there a way to achieve this?</p>