title: Maven surefire plugin Nothing to compile - all classes are up to date
body: <p><strong>When I ran  clean test or 
  clean test -DsuiteFile=src/main/resources/testng/SmokeTestSuite.xml in eclipse 
  following is the output.No test running but Build is success.</strong>
  I have been struggling for this for quite a few weeks.Would be great if someone can explain me what was the issue and a proper solution.</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building eselenium-ellis-tests 0.0.1
  [INFO] ------------------------------------------------------------------------
  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  SLF4J: Defaulting to no-operation (NOP) logger implementation
  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  Downloading: https://devops-tools.pearson.com/nexus-master/content/repositories/releases/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml
  Downloading: https://devops-tools.pearson.com/nexus-deps/content/groups/all-deps/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml
  Downloaded: https://devops-tools.pearson.com/nexus-deps/content/groups/all-deps/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml (788 B at 0.2 KB/sec)
  Downloading: https://devops-tools.pearson.com/nexus-deps/content/groups/all-deps/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml
  Downloading: https://devops-tools.pearson.com/nexus-master/content/repositories/releases/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml
  Downloaded: https://devops-tools.pearson.com/nexus-deps/content/groups/all-deps/com/pearson/eselenium-pageobjects-ellis/1.0.1-SNAPSHOT/maven-metadata.xml (788 B at 0.2 KB/sec)
  [INFO] 
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ eselenium-ellis-tests ---
  [INFO] Deleting C:\ATDD\workspace\galaxy-tests\target
  [INFO] 
  [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ eselenium-ellis-tests ---
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
  [INFO] Copying 8 resources
  [INFO] 
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ eselenium-ellis-tests ---
  [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
  [INFO] Compiling 19 source files to C:\ATDD\workspace\galaxy-tests\target\classes
  [INFO] 
  [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ eselenium-ellis-tests ---
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource
  [INFO] 
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ eselenium-ellis-tests ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO] 
  [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ eselenium-ellis-tests ---
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 21.003s
  [INFO] Finished at: Sun Oct 19 09:48:48 IST 2014
  [INFO] Final Memory: 20M/153M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p><strong>AND My POM file looks like below.</strong></p>
  
  <pre><code>&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;com.pearson&lt;/groupId&gt;
      &lt;artifactId&gt;eselenium-ellis-tests&lt;/artifactId&gt;
      &lt;version&gt;0.0.1&lt;/version&gt;
      &lt;properties&gt;
          &lt;suiteXmlFile&gt;${suiteFile}&lt;/suiteXmlFile&gt;
      &lt;/properties&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.pearson&lt;/groupId&gt;
              &lt;artifactId&gt;eselenium.framework&lt;/artifactId&gt;
              &lt;version&gt;1.2.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.pearson&lt;/groupId&gt;
              &lt;artifactId&gt;eselenium-pageobjects-ellis&lt;/artifactId&gt;
              &lt;version&gt;1.0.1-SNAPSHOT&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.16&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.5.2&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;plugins&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.12.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;testFailureIgnore&gt;true&lt;/testFailureIgnore&gt;
                      &lt;suiteXmlFiles&gt;
                          &lt;suiteXmlFile&gt;${suiteFile}&lt;/suiteXmlFile&gt;
                          &lt;!--&lt;suiteXmlFile&gt;src/main/resources/testng/SmokeTestSuite.xml&lt;/suiteXmlFile&gt; --&gt;
                      &lt;/suiteXmlFiles&gt;
                      &lt;reportsDirectory&gt;test-output&lt;/reportsDirectory&gt;
                      &lt;reportsDirectory&gt;test-output\archive\${timestamp}&lt;/reportsDirectory&gt;
                      &lt;systemProperties&gt;
                          &lt;property&gt;
                              &lt;name&gt;browser.NAME&lt;/name&gt;
                              &lt;value&gt;${browser.NAME}&lt;/value&gt;
                          &lt;/property&gt;
                      &lt;/systemProperties&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p></p>