Hello
I am not able to run the maven projects of the tutorials. I have installed the maven properly and i am getting the version by entering the mvn --version command .
When i run the project i get this error ::
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ seleniumtests -
--
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ se
leniumtests ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ seleniu
mtests ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.4.2:test (default-test) @ seleniumtests ---
[INFO] Surefire report directory: C:\Documents and Settings\tarun.ohri\Desktop\s
elenium_test\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
...
... TestNG 6.8.2beta_20130330_0839 by CĪdric Beust (cedric@beust.com)
...
Tests run: 10, Failures: 1, Errors: 0, Skipped: 9, Time elapsed: 13.398 sec <<<
FAILURE!
Results :
Failed tests:
launchBrowser(com.seleniumtests.test.WebDriverTest)
Tests run: 10, Failures: 1, Errors: 0, Skipped: 9
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.020s
[INFO] Finished at: Thu Sep 19 10:40:44 IST 2013
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
4.2:test (default-test) on project seleniumtests: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Documents and Settings\tarun.ohri\Desktop\selenium_te
st\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException