[ https://issues.apache.org/jira/browse/SUREFIRE-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski updated SUREFIRE-2090: ------------------------------------------ Labels: up-for-grabs (was: ) > Xref link to source code with specified line number doesn't work. Missing "L" > in anchor > --------------------------------------------------------------------------------------- > > Key: SUREFIRE-2090 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2090 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Report Plugin > Affects Versions: 3.0.0-M6 > Reporter: Lau Brino > Priority: Minor > Labels: up-for-grabs > > Steps to reproduce: > # Have a Java Maven project setup > # In pom.xml, configure maven-surefire-report-plugin together with > maven-jxr-plugin:3.2.0 in <reporting> section > # have a failed test in you project. > # generate html surefire report with xrefs to source code > # in that report locate failed test with link to test source code > Expected behavior: > Clicking on the link bring you to the exact line is test source where the > test failed. > Actual behavior: > The link works, but the line number is ignored. > > The link on surefire report looks like this > .../target/site/xref-test/com/soliteapay/portal/cloudterminal/CloudTerminalIT.html#121 > However correct URL looks like this > .../target/site/xref-test/com/soliteapay/portal/cloudterminal/CloudTerminalIT.html#L121 > (notice the "L" right after #) -- This message was sent by Atlassian Jira (v8.20.7#820007)