org.codehaus.mojo.xml
Class ValidateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.xml.AbstractXmlMojo
          extended by org.codehaus.mojo.xml.ValidateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ValidateMojo
extends AbstractXmlMojo

The ValidatorMojo's task is the validation of XML files against a given schema.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ValidateMojo()
           
 
Method Summary
 void execute()
          Called by Maven for executing the Mojo.
 
Methods inherited from class org.codehaus.mojo.xml.AbstractXmlMojo
activateProxy, asAbsoluteFile, asFiles, getBasedir, getCatalogs, getExcludes, getFileNames, getFiles, getProject, getResolver, passivateProxy
 
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
 

Constructor Detail

ValidateMojo

public ValidateMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Called by Maven for executing the Mojo.

Throws:
org.apache.maven.plugin.MojoExecutionException - Running the Mojo failed.
org.apache.maven.plugin.MojoFailureException - A configuration error was detected.


Copyright © 2006-2010 The Apache Software Foundation. All Rights Reserved.