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
@Mojo(name="check")
public class LinkTester
- extends org.apache.maven.plugin.AbstractMojo
This goal will check the selected DocBook documents for XML validity and will also verify the validity of external
links and interdocument olinks that can be found throughout the project.
|
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
@Parameter(defaultValue="${project}",
required=true,
readonly=true)
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 © 2015. All rights reserved.