title: How to choose which JUnit5 Tags to execute with Maven
body: <p>I have just upgraded my solution to use JUnit5. Now trying to create tags for my tests that have two tags: <code>@Fast</code> and <code>@Slow</code>. To start off I have used the below maven entry to configure which test to run with my default build. This means that when I execute <code>mvn test</code> only my fast tests will execute. I assume I can override this using the command line. But I can not figure out what I would enter to run my slow tests....</p>
  
  <p>I assumed something like.... <code>mvn test -Dmaven.IncludeTags=fast,slow</code> which does not work</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.19.1&lt;/version&gt;
      &lt;configuration&gt;
          &lt;properties&gt;
              &lt;includeTags&gt;fast&lt;/includeTags&gt;
              &lt;excludeTags&gt;slow&lt;/excludeTags&gt;
          &lt;/properties&gt;
      &lt;/configuration&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.junit.jupiter&lt;/groupId&gt;
              &lt;artifactId&gt;junit-jupiter-engine&lt;/artifactId&gt;
              &lt;version&gt;5.0.0-M3&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.junit.platform&lt;/groupId&gt;
              &lt;artifactId&gt;junit-platform-surefire-provider&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-M3&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/plugin&gt;
  </code></pre>