maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amiragl <amy...@live.fr>
Subject bug while using maven-surefire-plugin in test report generation
Date Wed, 12 Oct 2011 09:29:28 GMT
Hi All,

I wanna generate my reports so i used maven-surefire-plugin so this is my
pom.xml code:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.10</version>
  <configuration>
    <reportsDirectory>${project.build.directory}/reports</reportsDirectory>
  </configuration> 
</plugin>

But i'm getting this error when i run maven test:

Tests run: 6, Failures: 2, Errors: 2, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.881s
[INFO] Finished at: Wed Oct 12 10:43:42 CEST 2011
[INFO] Final Memory: 19M/129M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on
project jebouquine: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\Users\Amira\workspace1\jebouquine\target\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
switch.
[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
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Thank you in advance

--
View this message in context: http://maven.40175.n5.nabble.com/bug-while-using-maven-surefire-plugin-in-test-report-generation-tp4894877p4894877.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message