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