From 1145e61693f1d508a1985359b33c62c61de33b21 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:30:23 +0000 Subject: [PATCH 1/7] Initial plan From db1cbe688dfe070526aecc523743e7054e0c5c19 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:33:24 +0000 Subject: [PATCH 2/7] Bump Maven Site Plugin to 4.0.0-M16 and add site-generation agent docs Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/19977bbb-d8f4-4d9f-8b7b-006669c5b041 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- agent.md | 13 +++++++++++++ pom.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 agent.md diff --git a/agent.md b/agent.md new file mode 100644 index 0000000000..b6f741b16f --- /dev/null +++ b/agent.md @@ -0,0 +1,13 @@ +# Site generation + +## Prerequisites +- JDK 17+ +- Maven 3.6.3+ +- Access to `https://repo.maven.apache.org/maven2` and `https://central.sonatype.com/repository/maven-snapshots/` + +## Generate the site + +```bash +mvn -DskipTests site +``` + diff --git a/pom.xml b/pom.xml index eaadf6807e..cb15c4fda3 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,7 @@ 3.4.0 3.12.0 3.5.4 - 3.21.0 + 4.0.0-M16 0.8.14 2.9.1 From 82604b1e034b97241c6bd0571c163973e498842c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:39:55 +0000 Subject: [PATCH 3/7] Migrate src/site/site.xml to SITE 2.0 model for maven-site-plugin 4 Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/3bf398cb-f83a-4150-9120-d336686dbfa5 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- src/site/site.xml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/site/site.xml b/src/site/site.xml index 451081fc40..1daf5a4048 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,6 +1,7 @@ - - + @@ -19,10 +20,8 @@ - - HtmlUnit - /images/htmlunit.png - https://www.htmlunit.org + + @@ -73,5 +72,4 @@ - - + From bb06ff9bcf6be3718ed8250e3afd4245ea637edb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:40:25 +0000 Subject: [PATCH 4/7] Keep banner image path absolute in migrated SITE 2.0 descriptor Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/3bf398cb-f83a-4150-9120-d336686dbfa5 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- src/site/site.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/site.xml b/src/site/site.xml index 1daf5a4048..1d857af7fd 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -21,7 +21,7 @@ - + From dca26e041d6994e9c4638066aba7a8dac0c27c95 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 13:41:00 +0000 Subject: [PATCH 5/7] Fix publishDate format in SITE 2.0 descriptor Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/3bf398cb-f83a-4150-9120-d336686dbfa5 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- src/site/site.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/site.xml b/src/site/site.xml index 1d857af7fd..f1b07b06c7 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -2,7 +2,7 @@ - + org.apache.maven.skins From 3af286a232c66ddc2ec7c2879a97949c5008883c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 14:04:02 +0000 Subject: [PATCH 6/7] Upgrade maven-fluido-skin to 2.1.0 for Maven Site Plugin 4 compatibility Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/9be9c550-862d-4ffb-930a-603768632c79 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- src/site/site.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/site.xml b/src/site/site.xml index f1b07b06c7..2e928fa787 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -7,7 +7,7 @@ org.apache.maven.skins maven-fluido-skin - 1.9 + 2.1.0 From 7d00b4db62080352880813f8110b90e6da9a4c3f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 14:09:24 +0000 Subject: [PATCH 7/7] Hide broken Fluido publish/version footer labels under site plugin 4 Agent-Logs-Url: https://github.com/HtmlUnit/htmlunit/sessions/9be9c550-862d-4ffb-930a-603768632c79 Co-authored-by: rbri <2544132+rbri@users.noreply.github.com> --- src/site/resources/css/site.css | 3 ++- src/site/site.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css index 77419daef5..f6239d4e17 100644 --- a/src/site/resources/css/site.css +++ b/src/site/resources/css/site.css @@ -7,4 +7,5 @@ a.externalLink[href$=".md5"],a.externalLink[href$=".sha1"]{background:url('../im a.externalLink[href^=https]{background:inherit;padding-right:inherit} a.externalLink[href^=file]{background:url('../images/drive-harddisk.png') right center no-repeat;padding-right:18px} a.externalLink[href^=ftp]{background:url('../images/network-server.png') right center no-repeat;padding-right:18px} -a.externalLink[href^=mailto]{background:url('../images/contact-new.png') right center no-repeat;padding-right:18px} \ No newline at end of file +a.externalLink[href^=mailto]{background:url('../images/contact-new.png') right center no-repeat;padding-right:18px} +#publishDate,#projectVersion{display:none} diff --git a/src/site/site.xml b/src/site/site.xml index 2e928fa787..f1b07b06c7 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -7,7 +7,7 @@ org.apache.maven.skins maven-fluido-skin - 2.1.0 + 1.9