This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 7ffedb9 Keep the site descriptor's links to maven.apache.org absolute
7ffedb9 is described below
commit 7ffedb950575c2c07179afff694c99b7dab69ff1
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Mon Nov 2 18:21:14 2026 +0000
Keep the site descriptor's links to maven.apache.org absolute
maven-site-plugin turned the banners and the menu links to other Maven
sites into links that climb above the
site root (../../images/...), which resolve only where the site is
published on maven.apache.org. A fork
preview, a staging copy or a local render had broken logos and menu links:
374 on the maven-archiver site.
---
pom.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pom.xml b/pom.xml
index cac678e..84c4e81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1088,6 +1088,9 @@ under the License.</licenseText>
<configuration>
<!-- for multi-modules site staging -->
<topSiteURL>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</topSiteURL>
+ <!-- keep the descriptor's links to maven.apache.org absolute:
relative ones (../../images/...) resolve only
+ where the site is published, not in a fork preview, a staging
copy or a local render -->
+ <relativizeSiteLinks>false</relativizeSiteLinks>
</configuration>
</plugin>
<plugin>