You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/10 00:23:35 UTC

(maven-surefire) branch site-table-borders created (now 38b870a0f)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch site-table-borders
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


      at 38b870a0f Restore the table borders lost in the APT conversion

This branch includes the following new commits:

     new 38b870a0f Restore the table borders lost in the APT conversion

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-surefire) 01/01: Restore the table borders lost in the APT conversion

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch site-table-borders
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 38b870a0f72b893d4f0871289163bafd803b6f67
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 10 02:23:26 2026 +0200

    Restore the table borders lost in the APT conversion
    
    A Markdown pipe table renders as class="table table-striped"; the APT
    tables these two pages came from rendered as
    class="table table-bordered table-striped", so the conversion in #3422
    quietly dropped the cell borders.
    
    Doxia parses a raw HTML table back into the same table it built from
    APT -- the class and the per-cell style survive verbatim and it still
    applies the alternating row classes itself -- so writing these two out
    as HTML restores the original rendering exactly.
    
    Verified against the pre-conversion site: examples/toolchains now
    matches the APT baseline on every axis compared, and the only remaining
    difference on surefire-api/index is the Term and Definition header
    cells, which were added deliberately in #3422 because a Markdown table
    cannot express a headerless one.
    
    history.md.vm keeps its Markdown table on purpose.  It carries 24 links
    and 38 line breaks across nine rows and gains a row every release, so
    readable source is worth more there than the border.
    
    Generated-by: Claude Opus 5 (1M context)
---
 .../src/site/markdown/examples/toolchains.md.vm             | 11 ++++++-----
 surefire-api/src/site/markdown/index.md                     | 13 +++++++------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/maven-surefire-plugin/src/site/markdown/examples/toolchains.md.vm b/maven-surefire-plugin/src/site/markdown/examples/toolchains.md.vm
index ddc1263fc..55467105a 100644
--- a/maven-surefire-plugin/src/site/markdown/examples/toolchains.md.vm
+++ b/maven-surefire-plugin/src/site/markdown/examples/toolchains.md.vm
@@ -53,11 +53,12 @@ Minimum Java Version for Toolchains
 
 The minimum version of Java that can be used as a toolchain is limited by the Surefire Booter requirement.
 
-|Surefire Version|Minimum Java Version|Class File Version|
-|:---|:---|:---|
-|3\.0.0-M6 or higher|Java 8|52|
-|3\.0.0-M5 and lower|Java 7|51|
-|lower than 3.0.0-M1|Java 6|50|
+<table class="table table-bordered table-striped">
+<tr><th>Surefire Version</th><th>Minimum Java Version</th><th>Class File Version</th></tr>
+<tr><td style="text-align: left;">3.0.0-M6 or higher</td><td style="text-align: left;">Java 8</td><td style="text-align: left;">52</td></tr>
+<tr><td style="text-align: left;">3.0.0-M5 and lower</td><td style="text-align: left;">Java 7</td><td style="text-align: left;">51</td></tr>
+<tr><td style="text-align: left;">lower than 3.0.0-M1</td><td style="text-align: left;">Java 6</td><td style="text-align: left;">50</td></tr>
+</table>
 
 If you try to use a version older than the minimum supported version, you should face something like:
 
diff --git a/surefire-api/src/site/markdown/index.md b/surefire-api/src/site/markdown/index.md
index 709c1672e..6faee303a 100644
--- a/surefire-api/src/site/markdown/index.md
+++ b/surefire-api/src/site/markdown/index.md
@@ -28,12 +28,13 @@ under the License.
 
 ## Definitions
 
-|Term|Definition|
-|:---|:---|
-|test method|Individual test method within a class|
-|test|1..N test methods in 1 or more classes.|
-|suite|1..N tests.|
-|group|A named subset of test methods within a test.|
+<table class="table table-bordered table-striped">
+<tr><th>Term</th><th>Definition</th></tr>
+<tr><td style="text-align: left;">test method</td><td style="text-align: left;">Individual test method within a class</td></tr>
+<tr><td style="text-align: left;">test</td><td style="text-align: left;">1..N test methods in 1 or more classes.</td></tr>
+<tr><td style="text-align: left;">suite</td><td style="text-align: left;">1..N tests.</td></tr>
+<tr><td style="text-align: left;">group</td><td style="text-align: left;">A named subset of test methods within a test.</td></tr>
+</table>
 
 How each definition is applied depends on the provider, and the test suite being used.