title: mvn -x switch within pom.xml file
body: <p>I am running a build on Jenkins, I would like to enable -x switch so I can do some debugging. Here is my pom.xml file:</p>
  
  <pre><code>&lt;project&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.dqsalpha-dev.app&lt;/groupId&gt;
      &lt;artifactId&gt;dqsalpha&lt;/artifactId&gt;
      &lt;version&gt;0.0.1001&lt;/version&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;version&gt;1.6.0&lt;/version&gt;
                  &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;&lt;!-- Run our version calculation script --&gt;
                          &lt;id&gt;Version Calculation&lt;/id&gt;
                          &lt;phase&gt;generate-sources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;exec&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;executable&gt;${basedir}/@test.sh&lt;/executable&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>is there a way to enable the -X switch with the pom file?</p>
  
  <p>Or perhaps, I can add the -X switch to the Jenkins configuration, which looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/tWW4P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tWW4P.png" alt="enter image description here"></a></p>