Tested. If you run mvn jxr:jxr mvn jxr:test-jxr
before mvn surefire-report:report -Dtest=SomethingTestCase The line number of error should be there. On Wed, May 6, 2009 at 12:12 PM, John <[email protected]> wrote: > > Seems to be Surefire problem, the root cause is as follows, > > Caused by: java.lang.StringIndexOutOfBoundsException: String index out > of range: -1 > at java.lang.String.substring(String.java:1938) > at > > org.apache.maven.plugins.surefire.report.SurefireReportGenerator.getErrorLineNumber > (SurefireReportGenerator.java:638) > > After we added the maven-jxr-plugin and report section to the Maven > archetypes, would you be able to run "mvn site" ? > > Seems the source cross reference is created at that point. > > Or try to run manually > > mvn jxr:jxr > mvn jxr:test-jxr > > Matt, do you have any input on this? > > Thanks, > > Jian > > On May 6, 10:42 am, Ernst <[email protected]> wrote: > > Hi, > > > > I can't make a surefire reports when there is a test that fails (on > > purpose here for example). > > I'm using the provided maven archetype. > > Is this something Tellurium related or is it a problem with Surefire? > > Can anyone reproduce it? > > > > mvn -X -e surefire-report:report -Dtest=SomethingTestCase > > > > ...cut... > > 16:35:53.591 INFO - Stopped HttpContext[/,/] > > 16:35:53.592 INFO - Stopped org.mortbay.jetty.ser...@c4bc34 > > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.649 > > sec <<< FAILURE! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
