title: JMH Unable to find the resource: /META-INF/BenchmarkList
body: <p>I'm not able to run simple JMH benchmark inside eclipse.
  Maven dependencies:</p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.openjdk.jmh&lt;/groupId&gt;
              &lt;artifactId&gt;jmh-core&lt;/artifactId&gt;
              &lt;version&gt;1.12&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.openjdk.jmh&lt;/groupId&gt;
              &lt;artifactId&gt;jmh-generator-annprocess&lt;/artifactId&gt;
              &lt;version&gt;1.12&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p><strong>Java code:</strong></p>
  
  <pre><code>public class BTest {
      @Benchmark
      public void test() {
          // todo
      }
  
      public static void main(String[] args) throws RunnerException {
          Options opt = new OptionsBuilder()
                   .include(BTest.class.getSimpleName())
                    .build();
  
          new Runner(opt).run();
      }
  }
  </code></pre>
  
  <p><strong>Result of run:</strong></p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.RuntimeException: ERROR: Unable
    to find the resource: /META-INF/BenchmarkList     at
    org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:96)
      at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:104)
      at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:256)   at
    org.openjdk.jmh.runner.Runner.run(Runner.java:206)    at
    com.test.BTest.main(BTest.java:24)</p>
  </blockquote>
  
  <p>Maybe the problem is, that I'm running it from eclipse. </p>