org.forgerock.maven.plugins
Class LinkTester
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.forgerock.maven.plugins.LinkTester
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class LinkTester
- extends org.apache.maven.plugin.AbstractMojo
A simple maven plugin which tries to perform validation checks against a DocBook XML document. Currently checks for
XML validity, external links, and interdocument olinks.
- Author:
- Peter Major
|
Field Summary |
protected org.apache.maven.project.MavenProject |
project
Access to the Maven Project settings. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.maven.project.MavenProject project
- Access to the Maven Project settings.
LinkTester
public LinkTester()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getCurrentPath
public String getCurrentPath()
fail
public void fail(String errorMessage)
debug
public final void debug(String line)
warn
public final void warn(String line)
info
public final void info(String line)
error
public final void error(String line)
error
public final void error(String line,
Throwable throwable)
Copyright © 2013. All Rights Reserved.