From 8aed0b4849400863568f40e0243d1869ad5cf0af Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 8 Aug 2026 19:55:34 +0200 Subject: [PATCH 1/2] Upgrade to plexus parent 26 Parent 26 keeps Spotless away from src/site/markdown. Its flexmark formatter rewrites the fence that closes a YAML front matter block, which silently costs each page its title, author and date. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a22910dca..1e1df6c49 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.codehaus.plexus plexus - 25 + 26 org.codehaus.modello From 787b06f6efc84ebf15e3351fb0160a5ec29bdadc Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 8 Aug 2026 19:55:34 +0200 Subject: [PATCH 2/2] Restore the document metadata dropped when the pages were ported The APT and xdoc sources carried a title, an author and a date. The conversion to Markdown dropped them, so the generated pages lost their and their author meta. Put them back as YAML front matter. migration-guide.md is left alone: it was authored as Markdown and never had metadata to restore. --- .../src/site/markdown/examples/multi-model.md.vm | 7 +++++++ modello-maven-plugin/src/site/markdown/index.md | 8 ++++++++ modello-maven-plugin/src/site/markdown/usage.md.vm | 7 +++++++ src/site/markdown/location-tracking.md | 7 +++++++ src/site/markdown/release-notes.md | 7 +++++++ 5 files changed, 36 insertions(+) diff --git a/modello-maven-plugin/src/site/markdown/examples/multi-model.md.vm b/modello-maven-plugin/src/site/markdown/examples/multi-model.md.vm index 983910237..67c4dfb41 100644 --- a/modello-maven-plugin/src/site/markdown/examples/multi-model.md.vm +++ b/modello-maven-plugin/src/site/markdown/examples/multi-model.md.vm @@ -1,3 +1,10 @@ +--- +title: Example of multi-model configuration +author: + - Denis Cabasson +date: 10 August 2006 +--- + # Processing Multiple Modello Models Configuring your pom.xml diff --git a/modello-maven-plugin/src/site/markdown/index.md b/modello-maven-plugin/src/site/markdown/index.md index b003d6eb1..2d0171689 100644 --- a/modello-maven-plugin/src/site/markdown/index.md +++ b/modello-maven-plugin/src/site/markdown/index.md @@ -1,3 +1,11 @@ +--- +title: Introduction +author: + - Denis Cabasson + - Hervé Boutemy +date: 1 January 2009 +--- + # Modello Maven Plugin This plugin makes use of the [Modello](https://codehaus-plexus.github.io/modello/) project. diff --git a/modello-maven-plugin/src/site/markdown/usage.md.vm b/modello-maven-plugin/src/site/markdown/usage.md.vm index c80908c3d..914aeeeda 100644 --- a/modello-maven-plugin/src/site/markdown/usage.md.vm +++ b/modello-maven-plugin/src/site/markdown/usage.md.vm @@ -1,3 +1,10 @@ +--- +title: Usage +author: + - Denis Cabasson +date: 10 August 2006 +--- + # Usage This document is intended to provide instructions for using the modello-maven-plugin. diff --git a/src/site/markdown/location-tracking.md b/src/site/markdown/location-tracking.md index b118590d3..e1c36562d 100644 --- a/src/site/markdown/location-tracking.md +++ b/src/site/markdown/location-tracking.md @@ -1,3 +1,10 @@ +--- +title: Location Tracking +author: + - Benjamin Bentmann +date: 2010-04-18 +--- + # Location Tracking Starting with Modello 1.4, some parsers (only [XPP3](./modello-plugins/modello-plugin-xpp3/index.html) in 1.4, [Snake Yaml](./modello-plugins/modello-plugin-snakeyaml/) and [Jackson](./modello-plugins/modello-plugin-jackson/) in addition in 1.8) support the tracking of line/column information for the input data. This means that additional metadata is stored in the model that can be used to query the location of some model element in the input source, e.g. for means of better error reporting to the user. diff --git a/src/site/markdown/release-notes.md b/src/site/markdown/release-notes.md index 009dc93b9..01121bb74 100644 --- a/src/site/markdown/release-notes.md +++ b/src/site/markdown/release-notes.md @@ -1,3 +1,10 @@ +--- +title: Release Notes +author: + - Hervé Boutemy +date: 2012-11-18 +--- + # Modello ## 1.8.2