Closed garydgregory closed 1 month ago
The problem is caused by comment:
// // TODO: add support for adding, not just replacing.
// throw new ImageReadException("No APP1 EXIF segment found.");
// }
It is recognized as one TODO tag with text:
add support for adding, not just replacing. throw new ImageReadException("No APP1 EXIF segment found."); }
We should improve multiline tags ....
But root cause is in maven-reporting-impl
- AbstractMavenReportRenderer#applyPattern which try to parse such text as link pattern ...
@michael-o can you also look?
As workaround you can set multipleLineComments
to false
Looking into...
@garydgregory maven-site-plugin:3.12.1
upgrade first and then report again.
@garydgregory
maven-site-plugin:3.12.1
upgrade first and then report again.
The same is with 3.20.0
Try in renderer with:
tableRow(new String[] {"text } text", "text { text"});
No can do: maven-site-plugin 3.20.0 break compatibility with too many things. Even following the upgrade trail crumb shows that the changes plugin generates broken HTML for the changes page and the Jira page. I'm leaving that as a to-do for later, maybe for the Maven 4 jump.
The problem is caused by comment:
// // TODO: add support for adding, not just replacing. // throw new ImageReadException("No APP1 EXIF segment found."); // }
It is recognized as one TODO tag with text:
add support for adding, not just replacing. throw new ImageReadException("No APP1 EXIF segment found."); }
We should improve multiline tags ....
But root cause is in
maven-reporting-impl
- AbstractMavenReportRenderer#applyPattern which try to parse such text as link pattern ...@michael-o can you also look?
Agree, we have several options here since we know that we cannot properly escape the braces:
I opt for 2. WDYT?
💯 😄
Upgrading from 3.1.0 to 3.2.0 causes:
Using:
Reproducer: