org.forgerock.maven.plugins
Class LinkTester

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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
 
Constructor Summary
LinkTester()
           
 
Method Summary
 void debug(String line)
           
 void error(String line)
           
 void error(String line, Throwable throwable)
           
 void execute()
           
 void fail(String errorMessage)
           
 String getCurrentPath()
           
 void info(String line)
           
 void warn(String line)
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
Access to the Maven Project settings.

Constructor Detail

LinkTester

public LinkTester()
Method Detail

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.