title: How can I fire integration tests separately using failsafe-plugin?
body: <p>I cannot run integration tests, but only unit tests.</p>
  
  <p>Here is my <code>Maven</code> config (see code below). It uses two plugins. One of them is <code>maven-failsafe-plugin</code> and the second one is <code>maven-surefire-plugin</code>.</p>
  
  <pre><code>&lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;skipTests&gt;false&lt;/skipTests&gt;
      &lt;skipITs&gt;${skipTests}&lt;/skipITs&gt;
      &lt;skipUTs&gt;${skipTests}&lt;/skipUTs&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.testng&lt;/groupId&gt;
          &lt;artifactId&gt;testng&lt;/artifactId&gt;
          &lt;version&gt;6.8.7&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &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.16&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;skipTests&gt;${skipUTs}&lt;/skipTests&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.16&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;skipTests&gt;${skipTests}&lt;/skipTests&gt;
                  &lt;skipITs&gt;${skipITs}&lt;/skipITs&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;integration-test&lt;/goal&gt;
                          &lt;goal&gt;verify&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>I try to run unit tests using this commend</p>
  
  <pre><code>mvn clean test
  </code></pre>
  
  <p>And there is the command to start integration tests separately</p>
  
  <pre><code>mvn clean failsafe:integration-test verify
  </code></pre>
  
  <p>Result of invocation of the last command is </p>
  
  <pre><code>[INFO] --- maven-failsafe-plugin:2.16:integration-test (default-cli) @ integration-test-demo ---
  [INFO] No tests to run.
  </code></pre>