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:43:15 UTC
(maven-archetypes) 02/02: Convert the site documents from APT to Markdown
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch archetypes-site-markdown
in repository https://gitbox.apache.org/repos/asf/maven-archetypes.git
commit 71e72e264f651d16a3b78a3366c9c61c59893ccc
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Aug 10 02:42:59 2026 +0200
Convert the site documents from APT to Markdown
Thirteen pages: the aggregator's index and one per archetype module.
Twelve keep their .vm suffix because they interpolate ${project.name},
${project.artifactId} and the archetype's default parameter values, so
each hits the trap that costs a .vm page its headings: the "Usage" section
converts to an ATX "##", Velocity reads that as a line comment, and the
heading disappears from the rendered page with no error. Written as setext
underlines instead, which need no "#" at all.
Two differences are the format rather than the conversion, and both are on
the two pages that carry a table:
Markdown has no way to say "this table has no header row". APT rendered
the quickstart parameter table's first row as ordinary cells; the
converter therefore emitted an empty header row above it, which renders as
a blank row. Promoted that first row to the header instead, so the table
keeps three rows - at the cost of Name and Default becoming <th>.
Markdown also cannot express APT's grid borders or per-column alignment.
The aggregator table loses "table-bordered" and the quickstart table's
centring falls back to the default left. The content is unchanged in both.
Verified by generating every module's site before and after and comparing
all 184 pages: identical in text, title, author and date, and identical in
anchor ids. The only structural differences are the four table facts
above.
Generated-by: Claude Opus 5 (1M context)
---
.../src/site/markdown/index.md.vm | 67 +++++++--------
.../src/site/markdown/index.md.vm | 67 +++++++--------
.../src/site/markdown/index.md.vm | 79 +++++++++---------
.../src/site/markdown/index.md.vm | 67 +++++++--------
.../src/site/markdown/index.md.vm | 67 +++++++--------
.../src/site/markdown/index.md.vm | 77 +++++++++--------
.../src/site/markdown/index.md.vm | 97 ++++++++++------------
.../src/site/markdown/index.md.vm | 77 +++++++++--------
.../src/site/markdown/index.md.vm | 79 +++++++++---------
.../src/site/markdown/index.md.vm | 68 +++++++--------
maven-archetype-site/src/site/markdown/index.md.vm | 71 ++++++++--------
.../src/site/markdown/index.md.vm | 77 +++++++++--------
src/site/markdown/index.md | 90 +++++++++-----------
13 files changed, 463 insertions(+), 520 deletions(-)
diff --git a/maven-archetype-archetype/src/site/markdown/index.md.vm b/maven-archetype-archetype/src/site/markdown/index.md.vm
index 77131ce..1d62c49 100644
--- a/maven-archetype-archetype/src/site/markdown/index.md.vm
+++ b/maven-archetype-archetype/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a sample archetype:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a sample archetype:
+
+```
project
|-- .mvn
@@ -58,15 +56,14 @@ project
`-- it-basic
|-- archetype.properties
`-- goal.txt
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-j2ee-simple/src/site/markdown/index.md.vm b/maven-archetype-j2ee-simple/src/site/markdown/index.md.vm
index e54b09e..a415a76 100644
--- a/maven-archetype-j2ee-simple/src/site/markdown/index.md.vm
+++ b/maven-archetype-j2ee-simple/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a simplified sample J2EE application:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a simplified sample J2EE application:
+
+```
project
|-- .mvn
@@ -83,15 +81,14 @@ project
| `-- index.jsp
`-- test
`-- java
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-plugin-site/src/site/markdown/index.md.vm b/maven-archetype-plugin-site/src/site/markdown/index.md.vm
index 67f50ce..0823f39 100644
--- a/maven-archetype-plugin-site/src/site/markdown/index.md.vm
+++ b/maven-archetype-plugin-site/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-26
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven plugin's site:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-26
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a sample Maven plugin's site:
+
+```
project
|-- .mvn
@@ -48,17 +46,16 @@ project
| |-- markdown.md
| `-- markdown-velocity.md.vm
`-- site.xml
+```
-----
-
- This archetype can be layered upon an existing Maven project.
+This archetype can be layered upon an existing Maven project.
-* Usage
+Usage
+-----
- To generate a new project or update an existing project from this archetype, type:
+To generate a new project or update an existing project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-plugin/src/site/markdown/index.md.vm b/maven-archetype-plugin/src/site/markdown/index.md.vm
index c672e10..e4be3a4 100644
--- a/maven-archetype-plugin/src/site/markdown/index.md.vm
+++ b/maven-archetype-plugin/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-26
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-26
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven plugin:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a sample Maven plugin:
+
+```
project
|-- .mvn
@@ -54,15 +52,14 @@ project
| |-- pom.xml
| `-- verify.groovy
`-- settings.xml
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-portlet/src/site/markdown/index.md.vm b/maven-archetype-portlet/src/site/markdown/index.md.vm
index 427b36c..c0b0c2c 100644
--- a/maven-archetype-portlet/src/site/markdown/index.md.vm
+++ b/maven-archetype-portlet/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a sample JSR-268 Portlet:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a sample JSR-268 Portlet:
+
+```
project
|-- .mvn
@@ -53,15 +51,14 @@ project
|-- help.jsp
|-- maximized.jsp
`-- normal.jsp
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-profiles/src/site/markdown/index.md.vm b/maven-archetype-profiles/src/site/markdown/index.md.vm
index 7b6aa32..6b874a9 100644
--- a/maven-archetype-profiles/src/site/markdown/index.md.vm
+++ b/maven-archetype-profiles/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven project which demonstrates the use of profiles:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a sample Maven project which demonstrates the use of profiles:
+
+```
project
|-- .mvn
@@ -50,15 +48,14 @@ project
`-- java
`-- $package
`-- AppTest.java
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-quickstart/src/site/markdown/index.md.vm b/maven-archetype-quickstart/src/site/markdown/index.md.vm
index 5412bc8..cb96479 100644
--- a/maven-archetype-quickstart/src/site/markdown/index.md.vm
+++ b/maven-archetype-quickstart/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven project:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a sample Maven project:
+
+```
project
|-- .mvn
@@ -46,33 +44,28 @@ project
`-- java
`-- $package
`-- AppTest.java
+```
-----
+Usage
+-----
-* Usage
+To generate a new project from this archetype, type:
- To generate a new project from this archetype, type:
-
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
+```
-----
-
- Archetype provide additional parameters:
+Archetype provide additional parameters:
-*---------------------------*-----------------------------------*
- Name | Default
-*---------------------------*-----------------------------------*
- <<<javaCompilerVersion>>> | <<${javaCompilerVersionDefault}>>
-*---------------------------*-----------------------------------*
- <<<junitVersion>>> | <<${junitVersionDefault}>>
-*---------------------------*-----------------------------------*
+|Name|Default|
+|:---:|:---:|
+|`javaCompilerVersion`|**${javaCompilerVersionDefault}**|
+|`junitVersion`|**${junitVersionDefault}**|
- The above command might not work on Windows or certain operating systems as-is. You can quote the parameters like this:
+The above command might not work on Windows or certain operating systems as-is. You can quote the parameters like this:
-----
+```
mvn archetype:generate "-DarchetypeGroupId=${project.groupId}" "-DarchetypeArtifactId=${project.artifactId}" "-DarchetypeVersion=${project.version}"
-
-----
+```
diff --git a/maven-archetype-simple/src/site/markdown/index.md.vm b/maven-archetype-simple/src/site/markdown/index.md.vm
index 33aa7ad..d61ea30 100644
--- a/maven-archetype-simple/src/site/markdown/index.md.vm
+++ b/maven-archetype-simple/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-25
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a simple Maven project:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-25
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a simple Maven project:
+
+```
project
|-- .mvn
@@ -48,15 +46,14 @@ project
`-- java
`-- $package
`-- AppTest.java
+```
-----
+Usage
+-----
-* Usage
+To generate a new project from this archetype, type:
- To generate a new project from this archetype, type:
-
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-site-simple/src/site/markdown/index.md.vm b/maven-archetype-site-simple/src/site/markdown/index.md.vm
index 893de37..0554857 100644
--- a/maven-archetype-site-simple/src/site/markdown/index.md.vm
+++ b/maven-archetype-site-simple/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-27
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven simple site:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-27
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a sample Maven simple site:
+
+```
project
|-- .mvn
@@ -45,17 +43,16 @@ project
| |-- markdown-velocity.md.vm
| `-- markdown.md
`-- site.xml
+```
-----
+This archetype can be layered upon an existing Maven project.
- This archetype can be layered upon an existing Maven project.
+Usage
+-----
-* Usage
+To generate a new project or update an existing project from this archetype, type:
- To generate a new project or update an existing project from this archetype, type:
-
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-site-skin/src/site/markdown/index.md.vm b/maven-archetype-site-skin/src/site/markdown/index.md.vm
index e56113b..4b1e308 100644
--- a/maven-archetype-site-skin/src/site/markdown/index.md.vm
+++ b/maven-archetype-site-skin/src/site/markdown/index.md.vm
@@ -1,37 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2018-02-26
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2018-02-26
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a sample
- {{{/plugins/maven-site-plugin/examples/creatingskins.html}Maven Site Skin}}:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a sample [Maven Site Skin](/plugins/maven-site-plugin/examples/creatingskins.html):
+
+```
project
|-- .mvn
@@ -67,15 +64,14 @@ project
|-- site.xml
`-- apt
`-- index.apt.vm
+```
-----
-
-* Usage
+Usage
+-----
- To generate a new project from this archetype, type:
+To generate a new project from this archetype, type:
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-site/src/site/markdown/index.md.vm b/maven-archetype-site/src/site/markdown/index.md.vm
index d898786..b1e1ddc 100644
--- a/maven-archetype-site/src/site/markdown/index.md.vm
+++ b/maven-archetype-site/src/site/markdown/index.md.vm
@@ -1,37 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-26
- ------
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-26
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-${project.name}
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven site which demonstrates
- some of the supported document types like APT, Markdown, XDoc, and FML and demonstrates how to i18n your site:
+# ${project.name}
-----
+`${project.artifactId}` is an archetype which generates a sample Maven site which demonstrates some of the supported document types like APT, Markdown, XDoc, and FML and demonstrates how to i18n your site:
+
+```
project
|-- .mvn
@@ -63,18 +60,16 @@ project
| `-- xdoc.xml
|-- site_fr.xml
`-- site.xml
+```
-----
-
- This archetype can be layered upon an existing Maven project.
+This archetype can be layered upon an existing Maven project.
+Usage
+-----
-* Usage
+To generate a new project from this archetype, type:
- To generate a new project from this archetype, type:
-
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/maven-archetype-webapp/src/site/markdown/index.md.vm b/maven-archetype-webapp/src/site/markdown/index.md.vm
index d4b6171..6af6e21 100644
--- a/maven-archetype-webapp/src/site/markdown/index.md.vm
+++ b/maven-archetype-webapp/src/site/markdown/index.md.vm
@@ -1,36 +1,34 @@
- ------
- ${project.name}
- ------
- Hervé Boutemy
- ------
- 2010-04-27
- ------
-
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
-
-~~ NOTE: For help with the syntax of this file, see:
-~~ http://maven.apache.org/guides/mini/guide-apt-format.html
-
-${project.name}
-
- <<<${project.artifactId}>>> is an archetype which generates a sample Maven webapp project:
-
-----
+---
+title: ${project.name}
+author:
+ - Hervé Boutemy
+date: 2010-04-27
+---
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# ${project.name}
+
+`${project.artifactId}` is an archetype which generates a sample Maven webapp project:
+
+```
project
|-- .mvn
@@ -43,15 +41,14 @@ project
|-- WEB-INF
| `-- web.xml
`-- index.jsp
+```
-----
+Usage
+-----
-* Usage
+To generate a new project from this archetype, type:
- To generate a new project from this archetype, type:
-
-----
+```
mvn archetype:generate -DarchetypeGroupId=${project.groupId} -DarchetypeArtifactId=${project.artifactId} -DarchetypeVersion=${project.version}
-
-----
+```
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 7d01918..52bfcd1 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -1,57 +1,43 @@
- ------
- Maven Archetypes
- ------
- Jason van Zyl
- ------
- 2015-08-10
- ------
+---
+title: Maven Archetypes
+author:
+ - Jason van Zyl
+date: 2015-08-10
+---
-~~ Licensed to the Apache Software Foundation (ASF) under one
-~~ or more contributor license agreements. See the NOTICE file
-~~ distributed with this work for additional information
-~~ regarding copyright ownership. The ASF licenses this file
-~~ to you under the Apache License, Version 2.0 (the
-~~ "License"); you may not use this file except in compliance
-~~ with the License. You may obtain a copy of the License at
-~~
-~~ http://www.apache.org/licenses/LICENSE-2.0
-~~
-~~ Unless required by applicable law or agreed to in writing,
-~~ software distributed under the License is distributed on an
-~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-~~ KIND, either express or implied. See the License for the
-~~ specific language governing permissions and limitations
-~~ under the License.
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
-~~ NOTE: For help with the syntax of this file, see:
-~~ https://maven.apache.org/guides/mini/guide-apt-format.html
+ http://www.apache.org/licenses/LICENSE-2.0
-Maven Archetypes
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
- Maven provides several archetype artifacts:
+# Maven Archetypes
-*-----------------------------------------------------------------+----------------+
-|| Archetype ArtifactIds || Description ||
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-archetype/}maven-archetype-archetype}} | An archetype to generate a sample archetype. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-j2ee-simple/}maven-archetype-j2ee-simple}} | An archetype to generate a simplified sample J2EE application. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-plugin/}maven-archetype-plugin}} | An archetype to generate a sample Maven plugin. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-plugin-site/}maven-archetype-plugin-site}} | An archetype to generate a sample Maven plugin site. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-portlet/}maven-archetype-portlet}} | An archetype to generate a sample JSR-268 Portlet. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-quickstart/}maven-archetype-quickstart}} | An archetype to generate a sample Maven project. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-simple/}maven-archetype-simple}} | An archetype to generate a simple Maven project. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-site/}maven-archetype-site}} | An archetype to generate a sample Maven site which demonstrates some of the supported document types like APT, Markdown, XDoc, and FML and demonstrates how to i18n your site. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-site-simple/}maven-archetype-site-simple}} | An archetype to generate a sample Maven site. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-site-skin/}maven-archetype-site-skin}} | An archetype to generate a sample Maven Site Skin. |
-*-----------------------------------------------------------------+----------------+
-| {{{./maven-archetype-webapp/}maven-archetype-webapp}} | An archetype to generate a sample Maven Webapp project. |
-*-----------------------------------------------------------------+----------------+
+Maven provides several archetype artifacts:
+
+|Archetype ArtifactIds|Description|
+|:---|:---|
+|[maven-archetype-archetype](./maven-archetype-archetype/)|An archetype to generate a sample archetype.|
+|[maven-archetype-j2ee-simple](./maven-archetype-j2ee-simple/)|An archetype to generate a simplified sample J2EE application.|
+|[maven-archetype-plugin](./maven-archetype-plugin/)|An archetype to generate a sample Maven plugin.|
+|[maven-archetype-plugin-site](./maven-archetype-plugin-site/)|An archetype to generate a sample Maven plugin site.|
+|[maven-archetype-portlet](./maven-archetype-portlet/)|An archetype to generate a sample JSR-268 Portlet.|
+|[maven-archetype-quickstart](./maven-archetype-quickstart/)|An archetype to generate a sample Maven project.|
+|[maven-archetype-simple](./maven-archetype-simple/)|An archetype to generate a simple Maven project.|
+|[maven-archetype-site](./maven-archetype-site/)|An archetype to generate a sample Maven site which demonstrates some of the supported document types like APT, Markdown, XDoc, and FML and demonstrates how to i18n your site.|
+|[maven-archetype-site-simple](./maven-archetype-site-simple/)|An archetype to generate a sample Maven site.|
+|[maven-archetype-site-skin](./maven-archetype-site-skin/)|An archetype to generate a sample Maven Site Skin.|
+|[maven-archetype-webapp](./maven-archetype-webapp/)|An archetype to generate a sample Maven Webapp project.|