title: skip tests with maven release plugin in Jenkins
body: <p>I have some bash script which contains this command:</p>
  
  <pre><code>$MAVEN -f "${PROJECTROOT}/pom.xml" org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare -Darguments="-DskipTests"
  </code></pre>
  
  <p>The problem is that the tests aren't skipped.
  I'v checked this <a href="https://stackoverflow.com/questions/8685100/how-can-i-get-maven-release-plugin-to-skip-my-tests">issue</a> which provided the right command to skip the tests. The command works when I try the same command locally on my machine using <code>mvn</code> and using no enviroment variabeles.</p>
  
  <p>Now I'm using this as managed script in Jenkins where it seems to fail every time. The tests aren't skipped. What am I doing wrong?</p>
  
  <p>The mvn version on our Jenkins is <code>3.2.5</code></p>