title: Maven-release-plugin to skip compiling and running tests setup in pom.xml
body: <p>Using maven-release-plugin, I have tried all possible ways I could (on command line as well), to <code>skip compiling</code> my tests but have not been successful so far. I want to do skip through pom. This is how my pom.xml looks</p>
  
  <pre><code>        &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
              &lt;arguments&gt;-Dmaven.test.skip&lt;/arguments&gt;
              &lt;goals&gt;deploy&lt;/goals&gt;
            &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>I have tried solutions from this post:
  <a href="https://stackoverflow.com/questions/8685100/how-can-i-get-maven-release-plugin-to-skip-my-tests">How can I get maven-release-plugin to skip my tests?</a> but couldn't get it to work.</p>
  
  <p>Tried surefire <a href="http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#skip" rel="nofollow noreferrer">http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#skip</a>
  but no luck.</p>
  
  <pre><code>&lt;plugin&gt;
    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
    &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
    &lt;version&gt;2.12.4&lt;/version&gt;
    &lt;configuration&gt;
         &lt;skip&gt;true&lt;/skip&gt;
    &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Please help to fix my pom.xml using maven-release-plugin preferably. </p>