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/07 14:18:04 UTC
(maven-clean-plugin) branch maven-clean-plugin-3.x updated: Restore the document metadata dropped when the pages were ported
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-clean-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-clean-plugin.git
The following commit(s) were added to refs/heads/maven-clean-plugin-3.x by this push:
new 17e54ea Restore the document metadata dropped when the pages were ported
17e54ea is described below
commit 17e54eacf9e7ed8c83c35bc8039f8d8f081a147f
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Aug 7 11:44:30 2026 +0200
Restore the document metadata dropped when the pages were ported
An APT document opens with a header block giving its title, authors and date, and
doxia-converter turns that into YAML front matter. The port removed the front
matter along with the converter's per-line licence comments, so the generated
pages lost their author and date meta tags, and took their title from the first
heading rather than from the document title.
The front matter has to come first in the file: the Markdown parser only looks for
it when the source begins with "---". A licence header ahead of it would hide it,
and RAT is happy either way.
---
src/site/markdown/examples/delete_additional_files.md.vm | 8 ++++++++
src/site/markdown/examples/ignoring-errors.md.vm | 7 +++++++
src/site/markdown/examples/skipping-clean.md.vm | 7 +++++++
src/site/markdown/index.md | 7 +++++++
src/site/markdown/usage.md.vm | 7 +++++++
5 files changed, 36 insertions(+)
diff --git a/src/site/markdown/examples/delete_additional_files.md.vm b/src/site/markdown/examples/delete_additional_files.md.vm
index 8ed5177..8809ed2 100644
--- a/src/site/markdown/examples/delete_additional_files.md.vm
+++ b/src/site/markdown/examples/delete_additional_files.md.vm
@@ -1,3 +1,11 @@
+---
+title: Delete Additional Files Not Exposed to Maven
+author:
+ - Mike Perham
+ - mperham@apache.org
+date: 2007-11-14
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/examples/ignoring-errors.md.vm b/src/site/markdown/examples/ignoring-errors.md.vm
index b86826c..0208187 100644
--- a/src/site/markdown/examples/ignoring-errors.md.vm
+++ b/src/site/markdown/examples/ignoring-errors.md.vm
@@ -1,3 +1,10 @@
+---
+title: Ignoring Clean Errors
+author:
+ - Vincent Siveton
+date: 2007-11-13
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/examples/skipping-clean.md.vm b/src/site/markdown/examples/skipping-clean.md.vm
index 77a5998..5c4c400 100644
--- a/src/site/markdown/examples/skipping-clean.md.vm
+++ b/src/site/markdown/examples/skipping-clean.md.vm
@@ -1,3 +1,10 @@
+---
+title: Skipping Clean
+author:
+ - Vincent Siveton
+date: 2007-11-13
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 0f6fad4..2836a70 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -1,3 +1,10 @@
+---
+title: Introduction
+author:
+ - Edwin Punzalan
+date: 2013-07-22
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index 2d02148..d895b21 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -1,3 +1,10 @@
+---
+title: Usage
+author:
+ - Edwin Punzalan
+date: 2006-06-29
+---
+
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file