------
Usage
------
Vincent Siveton
------
2009-07-31
------
~~ 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 The Linkcheck Plugin
The Maven Linkcheck Plugin allows you to generate a link check report of your documentation generated by the
{{{http://maven.apache.org/plugins/maven-site-plugin}Maven Site Plugin}}.
* Running It As A Maven Report
You need to configure the reporting section in your project like other Maven plugins report, i.e.:
+-----+
...
org.apache.maven.plugins
maven-linkcheck-plugin
${project.version}
...
...
+-----+
Here is a simple report:
[./images/sample.png] Sample report
* Running It As A Maven Plugin
The Linkcheck Plugin can be put into a project's pom.xml as the following:
+-----+
...
org.apache.maven.plugins
maven-linkcheck-plugin
${project.version}
...
...
+-----+
<>: In this case, no report will be created, only linkcheck files in <<>> dir
by default.
<>: The execution configuration is inadvisable, i.e. you can't use it in a specific phase.