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/06 13:25:52 UTC

(maven-jxr) branch master updated (a62022f -> 514707a)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jxr.git


    from a62022f  Bump apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml
     new a1ea06f  Rename the site documents ahead of converting them
     new 514707a  Port the site documentation from APT to Markdown

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/site/apt/examples/aggregate.apt.vm         | 98 ----------------------
 .../src/site/apt/examples/include-exclude.apt.vm   | 93 --------------------
 .../src/site/apt/examples/linkjavadoc.apt.vm       | 58 -------------
 .../src/site/apt/examples/nofork.apt.vm            | 72 ----------------
 maven-jxr-plugin/src/site/apt/index.apt            | 81 ------------------
 maven-jxr-plugin/src/site/apt/usage.apt.vm         | 76 -----------------
 .../src/site/markdown/examples/aggregate.md.vm     | 86 +++++++++++++++++++
 .../site/markdown/examples/include-exclude.md.vm   | 82 ++++++++++++++++++
 .../markdown/examples/linkjavadoc.md.vm}           | 38 +++++----
 .../src/site/markdown/examples/nofork.md.vm        | 53 ++++++++++++
 maven-jxr-plugin/src/site/markdown/index.md        | 48 +++++++++++
 .../markdown/usage.md.vm}                          | 59 ++++++++-----
 src/site/apt/examples/java.apt                     | 76 -----------------
 src/site/apt/index.apt                             | 59 -------------
 src/site/markdown/examples/java.md                 | 63 ++++++++++++++
 src/site/markdown/index.md                         | 40 +++++++++
 16 files changed, 432 insertions(+), 650 deletions(-)
 delete mode 100644 maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm
 delete mode 100644 maven-jxr-plugin/src/site/apt/examples/include-exclude.apt.vm
 delete mode 100644 maven-jxr-plugin/src/site/apt/examples/linkjavadoc.apt.vm
 delete mode 100644 maven-jxr-plugin/src/site/apt/examples/nofork.apt.vm
 delete mode 100644 maven-jxr-plugin/src/site/apt/index.apt
 delete mode 100644 maven-jxr-plugin/src/site/apt/usage.apt.vm
 create mode 100644 maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
 create mode 100644 maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
 copy maven-jxr-plugin/src/{test/resources/unit/testsourcedir-test/testsourcedir-test-plugin-config.xml => site/markdown/examples/linkjavadoc.md.vm} (53%)
 create mode 100644 maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
 create mode 100644 maven-jxr-plugin/src/site/markdown/index.md
 copy maven-jxr-plugin/src/{test/resources/unit/testsourcedir-test/testsourcedir-test-plugin-config.xml => site/markdown/usage.md.vm} (52%)
 delete mode 100644 src/site/apt/examples/java.apt
 delete mode 100644 src/site/apt/index.apt
 create mode 100644 src/site/markdown/examples/java.md
 create mode 100644 src/site/markdown/index.md


(maven-jxr) 01/02: Rename the site documents ahead of converting them

Posted by sl...@apache.org.
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-jxr.git

commit a1ea06f40eb5c0c309d1d713c1aebeba788d997a
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Aug 6 13:52:59 2026 +0200

    Rename the site documents ahead of converting them
    
    A pure rename, so that git records it and `git log --follow` and `git blame` still
    reach the history of each page after the conversion that follows. The content is
    still APT at this point and the site does not build between the two commits.
---
 .../{apt/examples/aggregate.apt.vm => markdown/examples/aggregate.md.vm}  | 0
 .../include-exclude.apt.vm => markdown/examples/include-exclude.md.vm}    | 0
 .../examples/linkjavadoc.apt.vm => markdown/examples/linkjavadoc.md.vm}   | 0
 .../site/{apt/examples/nofork.apt.vm => markdown/examples/nofork.md.vm}   | 0
 maven-jxr-plugin/src/site/{apt/index.apt => markdown/index.md}            | 0
 maven-jxr-plugin/src/site/{apt/usage.apt.vm => markdown/usage.md.vm}      | 0
 src/site/{apt/examples/java.apt => markdown/examples/java.md}             | 0
 src/site/{apt/index.apt => markdown/index.md}                             | 0
 8 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm b/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/examples/aggregate.apt.vm
rename to maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
diff --git a/maven-jxr-plugin/src/site/apt/examples/include-exclude.apt.vm b/maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/examples/include-exclude.apt.vm
rename to maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
diff --git a/maven-jxr-plugin/src/site/apt/examples/linkjavadoc.apt.vm b/maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/examples/linkjavadoc.apt.vm
rename to maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm
diff --git a/maven-jxr-plugin/src/site/apt/examples/nofork.apt.vm b/maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/examples/nofork.apt.vm
rename to maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
diff --git a/maven-jxr-plugin/src/site/apt/index.apt b/maven-jxr-plugin/src/site/markdown/index.md
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/index.apt
rename to maven-jxr-plugin/src/site/markdown/index.md
diff --git a/maven-jxr-plugin/src/site/apt/usage.apt.vm b/maven-jxr-plugin/src/site/markdown/usage.md.vm
similarity index 100%
rename from maven-jxr-plugin/src/site/apt/usage.apt.vm
rename to maven-jxr-plugin/src/site/markdown/usage.md.vm
diff --git a/src/site/apt/examples/java.apt b/src/site/markdown/examples/java.md
similarity index 100%
rename from src/site/apt/examples/java.apt
rename to src/site/markdown/examples/java.md
diff --git a/src/site/apt/index.apt b/src/site/markdown/index.md
similarity index 100%
rename from src/site/apt/index.apt
rename to src/site/markdown/index.md


(maven-jxr) 02/02: Port the site documentation from APT to Markdown

Posted by sl...@apache.org.
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-jxr.git

commit 514707a6f4f168d944813fc9da97094966bc986e
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Aug 6 13:53:00 2026 +0200

    Port the site documentation from APT to Markdown
    
    8 page(s) converted with doxia-converter and then cleaned up by hand:
    
    - <<<code>>> becomes backticks, <<bold>> becomes **bold**, {{{url}text}}
      becomes [text](url)
    - the ASF license header becomes a single block HTML comment
    - a page whose only Velocity reference was ${project.name} is now a plain
      .md with the title spelled out
    - a page that keeps a reference stays a .vm. Velocity reads ## as a line
      comment and would silently swallow every ATX heading below level one, so
      subsections use setext underlines and anything deeper is wrapped in
      #[[ ... ]]#
    - references APT rendered literally are escaped, so they do not resolve
    
    Verified by building the site before and after and comparing every
    generated page: the visible text and the link targets are unchanged apart
    from <b>/<i> becoming <strong>/<em> and quotes in prose picking up the
    Markdown module's typographic substitution.
---
 .../src/site/markdown/examples/aggregate.md.vm     |  62 +++++-----
 .../site/markdown/examples/include-exclude.md.vm   |  67 +++++------
 .../src/site/markdown/examples/linkjavadoc.md.vm   |  52 ++++-----
 .../src/site/markdown/examples/nofork.md.vm        | 125 +++++++++------------
 maven-jxr-plugin/src/site/markdown/index.md        | 103 ++++++-----------
 maven-jxr-plugin/src/site/markdown/usage.md.vm     |  77 ++++++-------
 src/site/markdown/examples/java.md                 |  87 ++++++--------
 src/site/markdown/index.md                         |  77 +++++--------
 8 files changed, 262 insertions(+), 388 deletions(-)

diff --git a/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm b/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
index 9c228c6..9a70a58 100644
--- a/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/examples/aggregate.md.vm
@@ -1,38 +1,29 @@
- ------
- Aggregating JXR Reports for Multi-module Projects
- ------
- Maria Odea Ching
- ------
- 2010-01-20
- ------
+<!--
+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
 
- ~~ 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.
+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.
+-->
 
-Aggregating JXR Reports for Multi-module Projects
+# Aggregating JXR Reports for Multi-module Projects
 
- The <<<aggregate>>> parameter of the JXR Plugin can be used to generate JXR files for multi-module projects. Using this parameter,
- you can opt to generate one compiled set of JXR files for the whole project (all modules) or generate one set of JXR files for
- each module.
+The `aggregate` parameter of the JXR Plugin can be used to generate JXR files for multi-module projects. Using this parameter, you can opt to generate one compiled set of JXR files for the whole project (all modules) or generate one set of JXR files for each module.
 
- For example, you have the following directory structure:
+For example, you have the following directory structure:
 
-+-----+
+```unknown
 Project
 |-- pom.xml
 |-- Module1
@@ -62,11 +53,11 @@ Project
     |                   `-- app
     |                       `-- Module3App.java
     `-- pom.xml
-+-----+
+```
 
- And you have the following configuration in your <<<pom.xml>>>:
+And you have the following configuration in your `pom.xml`:
 
-+-----+
+```xml
 <project>
   ...
   <reporting>
@@ -90,9 +81,6 @@ Project
   </reporting>
   ...
 </project>
-+-----+
+```
 
- When you execute <<<mvn site>>> from the parent directory, which is <Project>, a set of JXR files will be created
- in the target directory of <Project> where all of the JXR files of the project's submodules are included. 
- Otherwise a set of JXR files for <Module1> will be generated in the target directory of
- <Module1>, another set of JXR files for <Module2> will be generated in the target directory of <Module2>, and so on.
+When you execute `mvn site` from the parent directory, which is _Project_, a set of JXR files will be created in the target directory of _Project_ where all of the JXR files of the project's submodules are included. Otherwise a set of JXR files for _Module1_ will be generated in the target directory of _Module1_, another set of JXR files for _Module2_ will be generated in the target directory of _Module2_, and so on.
diff --git a/maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm b/maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
index 79c3b0c..78812be 100644
--- a/maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/examples/include-exclude.md.vm
@@ -1,42 +1,32 @@
- ------
- Including/Excluding Source Files
- ------
- Dennis Lundberg
- ------
- 2010-01-20
- ------
+<!--
+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
 
- ~~ 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.
+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.
+-->
 
-Including/Excluding Source Files
+# Including/Excluding Source Files
 
- To include or exclude files from the generated JXR files, you need to
- configure the JXR Plugin in your <<<pom.xml>>>. This is done using patterns
- similar to those used in Ant.
+To include or exclude files from the generated JXR files, you need to configure the JXR Plugin in your `pom.xml`. This is done using patterns similar to those used in Ant.
 
-*Including files
+Including files
+---------------
 
-  The default is to include all java files. The pattern <<<**/*.java>>> is used
-  to achieve this. If you want to use a different pattern you just configure it
-  in your <<<pom.xml>>> like this:
+The default is to include all java files. The pattern `**/*.java` is used to achieve this. If you want to use a different pattern you just configure it in your `pom.xml` like this:
 
-+-----+
+```xml
 <project>
   ...
   <reporting>
@@ -59,15 +49,14 @@ Including/Excluding Source Files
   </reporting>
   ...
 </project>
-+-----+
+```
 
-*Excluding files
+Excluding files
+---------------
 
-  By default no files are excluded. You can exclude files by configuring your
-  <<<pom.xml>>>. If you want to exclude all your abstract classes a configuration
-  like this might be useful:
+By default no files are excluded. You can exclude files by configuring your `pom.xml`. If you want to exclude all your abstract classes a configuration like this might be useful:
 
-+-----+
+```xml
 <project>
   ...
   <reporting>
@@ -90,4 +79,4 @@ Including/Excluding Source Files
   </reporting>
   ...
 </project>
-+-----+
+```
diff --git a/maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm b/maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm
index fac122d..0686436 100644
--- a/maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/examples/linkjavadoc.md.vm
@@ -1,34 +1,27 @@
- ------
- Linking JXR Files to Javadocs
- ------
- Maria Odea Ching
- ------
- 2010-01-20
- ------
+<!--
+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
 
- ~~ 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.
+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.
+-->
 
-Linking JXR Files to Javadocs
+# Linking JXR Files to Javadocs
 
- To link the generated JXR files to the Javadocs, you need to set the following JXR Plugin configuration in your <<<pom.xml>>>:
+To link the generated JXR files to the Javadocs, you need to set the following JXR Plugin configuration in your `pom.xml`:
 
-+-----+
+```xml
 <project>
   ...
   <reporting>
@@ -50,9 +43,6 @@ Linking JXR Files to Javadocs
   </reporting>
   ...
 </project>
-+-----+
+```
 
- The generated JXR pages will have a link named "View Javadoc" that will display the Javadoc of the class. In case there
- were no existing Javadocs in the specified Javadoc directory and no Javadocs will be generated (meaning no Javadoc Plugin
- configuration in the reporting section of the POM), the link will not be displayed even if the <<<linkJavadoc>>> parameter
- is set to <<<true>>>.
+The generated JXR pages will have a link named "View Javadoc" that will display the Javadoc of the class. In case there were no existing Javadocs in the specified Javadoc directory and no Javadocs will be generated (meaning no Javadoc Plugin configuration in the reporting section of the POM), the link will not be displayed even if the `linkJavadoc` parameter is set to `true`.
diff --git a/maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm b/maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
index 23f8c33..21f6ce3 100644
--- a/maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/examples/nofork.md.vm
@@ -1,72 +1,53 @@
- ------
- Generate JXR without duplicate execution of phase generate-sources.
- ------
- Matt Nelson
- ------
- 2019-01-18
- ------
-
-~~ 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/doxia/references/apt-format.html
-
-Generate JXR without duplicate execution of phase generate-sources and generate-test-sources.
-
- * The standard goals <<<jxr>>> and <<<test-jxr>>> invoke separate lifecyles
- <<<generate-sources>>> and <<<generate-test-sources>>>.
-
- * In a CI environment you now might execute something like <<<mvn clean deploy site site-deploy>>>.
-
- * During <<<site>>> build the standard reports will trigger <<<generate-sources>>> or
- <<<generate-test-sources>>> again, depending on your build this may take some time, because
- stuff like <<<enforcer>>> or generating stubs from a WDSL will be invoked again, which may lead
- to longer build times.
-
- * See {{{https://issues.apache.org/jira/browse/JXR-143}JXR-143}} as well.
-
- * As of version 3.1 two new reports are defined, <<<jxr-no-fork>>> and <<<test-jxr-no-fork>>>
- which will not trigger above phases a second time.
-
- * Configure this in your <<<reporting>>> section as follows:
-
-+-----+
-<project>
-  ...
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jxr-plugin</artifactId>
-        <version>${project.version}</version>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>jxr-no-fork</report>
-              <report>test-jxr-no-fork</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-    </plugins>
-  </reporting>
-  ...
-</project>
-+-----+
-
- <<Note>>: These reports may not be used for aggregate reports.
\ No newline at end of file
+<!--
+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.
+-->
+
+# Generate JXR without duplicate execution of phase generate-sources and generate-test-sources.
+
+- The standard goals `jxr` and `test-jxr` invoke separate lifecyles `generate-sources` and `generate-test-sources`.
+- In a CI environment you now might execute something like `mvn clean deploy site site-deploy`.
+- During `site` build the standard reports will trigger `generate-sources` or `generate-test-sources` again, depending on your build this may take some time, because stuff like `enforcer` or generating stubs from a WDSL will be invoked again, which may lead to longer build times.
+- See [JXR-143](https://issues.apache.org/jira/browse/JXR-143) as well.
+- As of version 3.1 two new reports are defined, `jxr-no-fork` and `test-jxr-no-fork` which will not trigger above phases a second time.
+- Configure this in your `reporting` section as follows:
+
+    ```xml
+    <project>
+      ...
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jxr-plugin</artifactId>
+            <version>${project.version}</version>
+            <reportSets>
+              <reportSet>
+                <reports>
+                  <report>jxr-no-fork</report>
+                  <report>test-jxr-no-fork</report>
+                </reports>
+              </reportSet>
+            </reportSets>
+          </plugin>
+        </plugins>
+      </reporting>
+      ...
+    </project>
+    ```
+
+    **Note**: These reports may not be used for aggregate reports.
diff --git a/maven-jxr-plugin/src/site/markdown/index.md b/maven-jxr-plugin/src/site/markdown/index.md
index 27d98d3..f4b0346 100644
--- a/maven-jxr-plugin/src/site/markdown/index.md
+++ b/maven-jxr-plugin/src/site/markdown/index.md
@@ -1,81 +1,48 @@
- ------
- Introduction
- ------
- Maria Odea Ching
- ------
- 2010-01-20
- ------
+<!--
+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
 
- ~~ 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.
+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.
+-->
 
-Maven JXR Plugin
+# Maven JXR Plugin
 
- The JXR Plugin produces a cross-reference of the project's sources. The generated reports make it easier for the user
- to reference or find specific lines of code. It is also handy when used with the PMD Plugin for referencing errors found
- in the code.
+The JXR Plugin produces a cross-reference of the project's sources. The generated reports make it easier for the user to reference or find specific lines of code. It is also handy when used with the PMD Plugin for referencing errors found in the code.
 
-* Goals Overview
+## Goals Overview
 
-  The JXR Plugin has 6 goals:
+The JXR Plugin has 6 goals:
 
-  * {{{./jxr-mojo.html}jxr:jxr}} is used to generate a cross-reference page of the project's main sources. The generated JXR
-  files can be linked to the javadocs of the project.
+- [jxr:jxr](./jxr-mojo.html) is used to generate a cross-reference page of the project's main sources. The generated JXR files can be linked to the javadocs of the project.
+- [jxr:jxr-no-fork](./jxr-no-fork-mojo.html) is used to generate a cross-reference page of the project's main sources without forking the `generate-sources` phase again. Note that this goal does require generation of main sources before site generation, e.g. by invoking `mvn clean deploy site`.
+- [jxr:aggregate](./aggregate-mojo.html) is used to generate an aggregated cross-reference page of the project's main sources. The generated JXR files can be linked to the javadocs of the project.
+- [jxr:test-jxr](./test-jxr-mojo.html) on the other hand, is used to generate a cross-reference page of the project's test sources.
+- [jxr:test-jxr-no-fork](./test-jxr-no-fork-mojo.html) on the other hand, is used to generate a cross-reference page of the project's test sources. without forking the `generate-test-sources` phase again. Note that this goal does require generation of test sources before site generation, e.g. by invoking `mvn clean deploy site`.
+- [jxr:test-aggregate](./test-aggregate-mojo.html) on the other hand, is used to generate an aggregated cross-reference page of the project's test sources.
+## Usage
 
-  * {{{./jxr-no-fork-mojo.html}jxr:jxr-no-fork}} is used to generate a cross-reference page of the project's main sources without forking the <<<generate-sources>>> phase again. Note that this goal does require generation of main sources before site generation, e.g. by invoking <<<mvn clean deploy site>>>.
+General instructions on how to use the JXR Plugin can be found on the [usage page](./usage.html). Some more specific use cases are described in the examples given below. Last but not least, users occasionally contribute additional examples, tips or errata to the [plugin's wiki page](http://docs.codehaus.org/display/MAVENUSER/JXR+Plugin).
 
-  * {{{./aggregate-mojo.html}jxr:aggregate}} is used to generate an aggregated cross-reference page of the project's main sources. The generated JXR files can be linked to the javadocs of the project.
+In case you still have questions regarding the plugin's usage, please have a look at the [FAQ](./faq.html) and feel free to contact the [user mailing list](./mailing-lists.html). The posts to the mailing list are archived and could already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching the [mail archive](./mailing-lists.html).
 
-  * {{{./test-jxr-mojo.html}jxr:test-jxr}} on the other hand, is used to generate a cross-reference page of the project's test sources.
+If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our [issue tracker](./issue-management.html). When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are wel [...]
 
-  * {{{./test-jxr-no-fork-mojo.html}jxr:test-jxr-no-fork}} on the other hand, is used to generate a cross-reference page of the project's test sources. without forking the <<<generate-test-sources>>> phase again. Note that this goal does require generation of test sources before site generation, e.g. by invoking <<<mvn clean deploy site>>>.
+## Examples
 
-  * {{{./test-aggregate-mojo.html}jxr:test-aggregate}} on the other hand, is used to generate an aggregated cross-reference page of the project's test sources.
+To provide you with better understanding on some usages of the JXR Plugin, you can take a look into the following examples:
 
-* Usage
-
-  General instructions on how to use the JXR Plugin can be found on the {{{./usage.html}usage page}}. Some more
-  specific use cases are described in the examples given below. Last but not least, users occasionally contribute
-  additional examples, tips or errata to the
-  {{{http://docs.codehaus.org/display/MAVENUSER/JXR+Plugin}plugin's wiki page}}.
-
-  In case you still have questions regarding the plugin's usage, please have a look at the {{{./faq.html}FAQ}} and feel
-  free to contact the {{{./mailing-lists.html}user mailing list}}. The posts to the mailing list are archived and could
-  already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching
-  the {{{./mailing-lists.html}mail archive}}.
-
-  If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our
-  {{{./issue-management.html}issue tracker}}. When creating a new issue, please provide a comprehensive description of your
-  concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason,
-  entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated.
-  Of course, patches are welcome, too. Contributors can check out the project from our
-  {{{./scm.html}source repository}} and will find supplementary information in the
-  {{{http://maven.apache.org/guides/development/guide-helping.html}guide to helping with Maven}}.
-
-* Examples
-
-   To provide you with better understanding on some usages of the JXR Plugin,  you can take a look into the
-   following examples:
-
-   * {{{./examples/aggregate.html}Aggregating JXR Reports for Multi-Projects}}
-
-   * {{{./examples/linkjavadoc.html}Linking JXR Files to Javadocs}}
-
-   * {{{./examples/nofork.html}Generate JXR without duplicate execution of phase generate-sources}}
-
-   []
+- [Aggregating JXR Reports for Multi-Projects](./examples/aggregate.html)
+- [Linking JXR Files to Javadocs](./examples/linkjavadoc.html)
+- [Generate JXR without duplicate execution of phase generate-sources](./examples/nofork.html)
diff --git a/maven-jxr-plugin/src/site/markdown/usage.md.vm b/maven-jxr-plugin/src/site/markdown/usage.md.vm
index 80d656e..1cadadc 100644
--- a/maven-jxr-plugin/src/site/markdown/usage.md.vm
+++ b/maven-jxr-plugin/src/site/markdown/usage.md.vm
@@ -1,42 +1,32 @@
- ------
- Usage
- ------
- Fabrice Bellingard
- <be...@gmail.com>
- Maria Odea Ching
- ------
- 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
 
- ~~ 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.
+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.
+-->
 
-Usage
+# Usage
 
- The JXR Plugin generates a cross-reference of the project's sources. Below are the different goals and configurations
- for the plugin.
+The JXR Plugin generates a cross-reference of the project's sources. Below are the different goals and configurations for the plugin.
 
-* Generate JXR as Part of Project Reports
+Generate JXR as Part of Project Reports
+---------------------------------------
 
- To include the JXR report in the site generation process, insert the following in the <<<\<reporting\>>>> section of your
- <<<pom.xml>>>:
+To include the JXR report in the site generation process, insert the following in the `<reporting>` section of your `pom.xml`:
 
-+-----+
+```xml
 <project>
   ...
   <build>
@@ -53,24 +43,25 @@ Usage
   </reporting>
   ...
 </project>
-+-----+
+```
 
- The report will be generated when you execute:
+The report will be generated when you execute:
 
-+-----+
+```shell
 mvn site
-+-----+
+```
 
-* Explicitly Generate JXR Files
+Explicitly Generate JXR Files
+-----------------------------
 
- The JXR files for the project's main sources will be generated using this command:
+The JXR files for the project's main sources will be generated using this command:
 
-+-----+
+```shell
 mvn jxr:jxr
-+-----+
+```
 
- To generate JXR files for the project's test sources, execute this command:
+To generate JXR files for the project's test sources, execute this command:
 
-+-----+
+```shell
 mvn jxr:test-jxr
-+-----+
+```
diff --git a/src/site/markdown/examples/java.md b/src/site/markdown/examples/java.md
index 038c85c..51721f3 100644
--- a/src/site/markdown/examples/java.md
+++ b/src/site/markdown/examples/java.md
@@ -1,70 +1,57 @@
- ------
- Using Maven JXR in Java
- ------
- Vincent Siveton
- ------
- 2010-01-20
- ------
-
- ~~ 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/doxia/references/apt-format.html
-
-
-Using Maven JXR in Java
-
- The cross-referencing API is pretty basic. You can generate xref for a given Java package or single Java source
- class. The whole generated file is xref'd by line number.
-
-* Transforming Java Packages
-
- JXR handles several options like an input/output encoding. See the {{{../apidocs/org/apache/maven/jxr/JXR.html}API}}
- for more information.
-
-+------+
+<!--
+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.
+-->
+
+# Using Maven JXR in Java
+
+The cross-referencing API is pretty basic. You can generate xref for a given Java package or single Java source class. The whole generated file is xref'd by line number.
+
+## Transforming Java Packages
+
+JXR handles several options like an input/output encoding. See the [API](../apidocs/org/apache/maven/jxr/JXR.html) for more information.
+
+```unknown
 JXR jxr = new JXR();
 jxr.setDest( "/target/jxr" );
 jxr.setLog( new DummyLog() );
 
 jxr.xref( Collections.singletonList( "/src/main/java/" ), "templateDir",
                                      "WindowsTitle", "DocTitle", "Bottom" );
-+------+
+```
 
- <<Note>>: the <templateDir> is a directory with several {{{http://velocity.apache.org/}Velocity}} templates.
- Maven JXR uses its own {{{https://github.com/apache/maven-jxr/tree/master/maven-jxr/src/main/resources/templates}templates}}.
+**Note**: the _templateDir_ is a directory with several [Velocity](http://velocity.apache.org/) templates. Maven JXR uses its own [templates](https://github.com/apache/maven-jxr/tree/master/maven-jxr/src/main/resources/templates).
 
- The generated JXR structure should be like the following:
+The generated JXR structure should be like the following:
 
-------
+```
 /target/jxr
  |- allclasses-frame.html
  |- index.html
  |- overview-frame.html
  |- overview-summary.html
  ...
-------
+```
 
-* Transforming a Single Java Source File
+## Transforming a Single Java Source File
 
- You can transform a single Java source file with the following:
+You can transform a single Java source file with the following:
 
-+------+
+```unknown
 File sourceFile = new File( "/src/main/java/Test.java" );
 
 PackageManager packageManager = new PackageManager( new DummyLog(),
@@ -73,4 +60,4 @@ JavaCodeTransform codeTransform = new JavaCodeTransform( packageManager );
 
 codeTransform.transform( sourceFile.getAbsolutePath(), "/target/jxr/Test.html",
                          Locale.ENGLISH, "ISO-8859-1", "ISO-8859-1", "", "" );
-+------+
+```
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index b0bac64..d236c31 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -1,59 +1,40 @@
- ------
- Introduction
- ------
- Jason van Zyl
- Vincent Siveton
- ------
- 2010-01-20
- ------
+<!--
+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
 
- ~~ 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.
+http://www.apache.org/licenses/LICENSE-2.0
 
- ~~ NOTE: For help with the syntax of this file, see:
- ~~ http://maven.apache.org/doxia/references/apt-format.html
+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 JXR
 
-Maven JXR
+Maven JXR project (formally Java Cross Reference) is a library to analyze a set of Java source files and produce documentation in HTML format _à la Javadoc_.
 
- Maven JXR project (formally Java Cross Reference) is a library to analyze a set of Java
- source files and produce documentation in HTML format <à la Javadoc>.
+Take a look at this [JXR report](./xref/index.html) to see an example.
 
- Take a look at this {{{./xref/index.html}JXR report}} to see an example.
+## Main Features
 
-* Main Features
+- Supports JDK 1.4+
+- Complementary tool for Javadoc
+- Easy configuration for color, style or template
+- Fully integrated with [Maven](./maven-jxr-plugin/)
+## Brief History
 
- * Supports JDK 1.4+
+The original JXR code was merged in 2004 with the Javasrc project from the defunct [Jakarta Alexandria](http://jakarta.apache.org/alexandria) project. The code was first maintained within the Maven 1 JXR plugin. In September 2005, it was voted to fork the base and create a separate library.
 
- * Complementary tool for Javadoc
+## Examples
 
- * Easy configuration for color, style or template
+The following example shows how to use Maven JXR in more advanced use cases:
 
- * Fully integrated with {{{./maven-jxr-plugin/}Maven}}
-
-* Brief History
-
- The original JXR code was merged in 2004 with the Javasrc project from the defunct
- {{{http://jakarta.apache.org/alexandria}Jakarta Alexandria}} project.
- The code was first maintained within the Maven 1 JXR plugin. In September 2005, it
- was voted to fork the base and create a separate library.
-
-* Examples
-
-   The following example shows how to use Maven JXR in more advanced use cases:
-
-   * {{{./examples/java.html}Using Maven JXR in Java}}
+- [Using Maven JXR in Java](./examples/java.html)