title: Build parent pom and run specific integration test in Jenkins through maven?
body: <p>Executing <code>mvn clean install</code> on my parent pom builds all the sub-modules and runs the related junit tests. It doesn't run the integration tests.</p>
  
  <p>After building and running the junits, I want to run a specific integration test in a particular sub-module.</p>
  
  <p>I am using following command:</p>
  
  <pre><code>mvn clean install -DTest=integrationTestName
  </code></pre>
  
  <p>The job fails with <code>No Test Found</code> error during build phase.</p>
  
  <p>I also tried using</p>
  
  <pre><code>mvn clean install -DTest=integrationTestName -pl=sub-module-name
  </code></pre>
  
  <p>but this only builds my sub-module having integration test.</p>
  
  <p><strong>Question</strong>: How to run a single integration test of a certain module?</p>