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

@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
 
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

@Parameter(defaultValue="${project}",
           required=true,
           readonly=true)
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 © 2015. All rights reserved.