title: Running first JCStress test
body: <p>I'm new to JCStress and I'm trying to run the "hello world" for JCStress but facing some problems. I think there is some obvious thing that I'm missing.</p>
  
  <p>I'm following <a href="https://wiki.openjdk.java.net/display/CodeTools/jcstress" rel="nofollow noreferrer">this</a> link to learn. And the samples that I'm trying are <a href="http://hg.openjdk.java.net/code-tools/jcstress/file/tip/jcstress-samples/src/main/java/org/openjdk/jcstress/samples" rel="nofollow noreferrer">here</a>. </p>
  
  <p>I started with the template project created from the following public maven archetype:</p>
  
  <pre><code>mvn archetype:generate "-DinteractiveMode=false" "-DarchetypeGroupId=org.openjdk.jcstress" "-DarchetypeArtifactId=jcstress-java-test-archetype" "-DarchetypeVersion=0.4" "-DgroupId=org.sample" "-DartifactId=test" "-Dversion=1.0"
  </code></pre>
  
  <p>I did a <code>mvn clean install</code> and got the <code>.\target\jcstress.jar</code>. I added <code>MyConcurrencyTest</code> which has the following code in package <code>org.sample</code></p>
  
  <pre><code>
  package org.sample;
  
  import org.openjdk.jcstress.annotations.*;
  import org.openjdk.jcstress.infra.results.I_Result;
  
  
  @JCStressTest
  @Outcome(id = "1", expect = Expect.ACCEPTABLE_INTERESTING, desc = "One update lost: atomicity failure.")
  @Outcome(id = "2", expect = Expect.ACCEPTABLE, desc = "Actors updated independently.")
  @State
  public class MyConcurrencyTest {
  
      int v;
  
      @Actor
      public void actor1() {
          v++;
      }
  
      @Actor
      public void actor2() {
          v++;
      }
  
      @Arbiter
      public void arbiter(I_Result r) {
          r.r1 = v;
      }
  
  }
  
  </code></pre>
  
  <p>The following is my project structure:</p>
  
  <p><a href="https://i.stack.imgur.com/Rv0Py.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rv0Py.png" alt="Project Structure"></a></p>
  
  <p>Now I'm trying to run this using this command (my current directory is the project root directory when I execute this command)</p>
  
  <pre><code>
  java -cp ".\target\classes" -jar .\target\jcstress.jar -v -t org.sample.MyConcurrencyTest
  </code></pre>
  
  <p>But the <code>org.sample.MyConcurrencyTest</code> don't get executed.</p>
  
  <p>(I understand that if we don't specify the tests using <code>-t &lt;testname&gt;</code> the tests from <code>jcstress.jar/META-INF/TestList</code> are picked up.)
  I think I'm missing something very obvious. Can someone please help?</p>
  
  <p>(It will be great if someone could share a good starter tutorial on JCStress explaining it's capabilities and functionalities that it has)</p>