| Author |
"maven site" fails on tests, while "maven test" runs without failures
|
stefan bungert
Greenhorn
Joined: Oct 29, 2005
Posts: 5
|
|
Hi! I have a problem here with this maven build. (Maven 1.02) I have made a multiproject, where there is a test appliaction named bookstore. I have some classes in it and one test case testing one class and one method. anyway, when running "maven test" it runs successfully through the test. when I run maven site it says: test:test: [junit] Running com.acme.bookstore.test.TestBookstore [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,297 sec [junit] [ERROR] TEST com.acme.bookstore.test.TestBookstore FAILED BUILD FAILED File...... C:\Documents and Settings\Administrator\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly Element... fail Line...... 181 Column.... 54 There were test failures. Any idea what that might be? When I comment all lines in the test it also runs successfully, probably it cannot solve the import statements? thanks in advance Stefan
|
 |
Karthik Guru
Ranch Hand
Joined: Mar 06, 2001
Posts: 1209
|
|
|
may be running the goal with -X option could reveal the issue?
|
 |
stefan bungert
Greenhorn
Joined: Oct 29, 2005
Posts: 5
|
|
It works! I dunno why it didn't test. I had some problmes with the junit report, when using jdk 1.5 sntax like List<Class> but now even that works I also had problmes with mavenIDE in eclipse, it sometimes reset the configs in project.xml I can't reconfigure the failure unfortunately bye
|
 |
 |
|
|
subject: "maven site" fails on tests, while "maven test" runs without failures
|
|
|