TestNG test result console is blank only if I run the test cases using Maven(Test)
<p>I have created a maven project for my automation selenium script and added all the required dependencies to pom.xml.
If I do the maven build(Test), test cases which I mentioned in TestNG.xml is running fine. But TestNG test result console is blank. It doesn't say any information about how many cases got executed and how many passed? Though Eclipse console output is having the test status.</p>

<pre><code>TestNG.xml:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"&gt;
&lt;suite guice-stage="DEVELOPMENT" name="Default suite" &gt;
  &lt;test verbose="2" name="Default test" &gt;
    &lt;classes &gt;
      &lt;class name="automation.BrowserNavigation"/&gt;
    &lt;/classes&gt;
  &lt;/test&gt; &lt;!-- Default test --&gt;
&lt;/suite&gt; &lt;!-- Default suite --&gt;
POM.xml:
&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;TupasRegression&lt;/groupId&gt;
  &lt;artifactId&gt;TupasRegression&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;build&gt;
    &lt;sourceDirectory&gt;src&lt;/sourceDirectory&gt;
    &lt;resources&gt;
      &lt;resource&gt;
        &lt;directory&gt;src&lt;/directory&gt;

      &lt;/resource&gt;
    &lt;/resources&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.5.1&lt;/version&gt;
        &lt;configuration&gt;
          &lt;source&gt;1.8&lt;/source&gt;
          &lt;target&gt;1.8&lt;/target&gt;
        &lt;/configuration&gt;
      &lt;/plugin&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.19.1&lt;/version&gt;
    &lt;configuration&gt;
        &lt;suiteXmlFiles&gt;
            &lt;suiteXmlFile&gt;src/TestNG.xml&lt;/suiteXmlFile&gt;
        &lt;/suiteXmlFiles&gt;
    &lt;/configuration&gt;
&lt;/plugin&gt;
    &lt;/plugins&gt;

  &lt;/build&gt;

  &lt;profiles&gt;

&lt;/profiles&gt;
&lt;dependencies&gt;
&lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
    &lt;version&gt;2.53.0&lt;/version&gt;
&lt;/dependency&gt;
  &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;version&gt;3.14&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
           &lt;/dependency&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-examples&lt;/artifactId&gt;
              &lt;version&gt;3.14&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
           &lt;/dependency&gt;
               &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-excelant&lt;/artifactId&gt;
              &lt;version&gt;3.14&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
           &lt;/dependency&gt;



          &lt;dependency&gt;
                 &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
                 &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
                 &lt;version&gt;3.14&lt;/version&gt;
                 &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
                 &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
                 &lt;artifactId&gt;poi-ooxml-schemas&lt;/artifactId&gt;
                 &lt;version&gt;3.14&lt;/version&gt;
                 &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
                 &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
                 &lt;artifactId&gt;poi-scratchpad&lt;/artifactId&gt;
                 &lt;version&gt;3.14&lt;/version&gt;
                 &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;




&lt;!-- &lt;/dependency&gt; --&gt;


          &lt;dependency&gt;
                 &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
                 &lt;artifactId&gt;openxml4j&lt;/artifactId&gt;
                 &lt;version&gt;1.0-beta&lt;/version&gt;
          &lt;/dependency&gt;

     &lt;dependency&gt;
            &lt;groupId&gt;org.testng&lt;/groupId&gt;
            &lt;artifactId&gt;testng&lt;/artifactId&gt;
            &lt;version&gt;6.3.1&lt;/version&gt;
        &lt;/dependency&gt;


&lt;/dependencies&gt;
&lt;/project&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/gs8qK.png" rel="nofollow">Eclipse Console Output</a>
<a href="https://i.stack.imgur.com/CKrbJ.png" rel="nofollow">TestNG result page</a></p>