title: Getting org/testng/TestNG : Unsupported major.minor version 52.0 on maven test
body: <p>I have maven-testNG project.Below is my testNG dependency in pom.xml. JAVA_HOME is <code>C:\Program Files (x86)\Java\jdk1.7.0_67</code> also set eclipse compiler compilance level as 1.7</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.testng&lt;/groupId&gt;
      &lt;artifactId&gt;testng&lt;/artifactId&gt;
      &lt;version&gt;6.9.5&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>when I right click project->Run As->Maven Test , then I get above version error. When I run individual test as TestNg Test, then test executes successfully . Where could be the problem</p>