Source Code Cross Reference

There are times when we wish to know right away the line number of the source code that caused a test to the fail. The Surefire Report Plugin has the capability to cross reference the source code that made the test fail. In order to activate this feature, the maven-jxr-plugin should be declared in the <reporting> section of the POM along with the maven-surefire-report-plugin. For more details, please read the documentation of the Maven JXR Plugin.