org.apache.maven.plugin.verifier

Class VerifierMojo

public class VerifierMojo extends AbstractMojo

Verifies existence or non-existence of files/directories an optionally checks file content against a regexp.

Version: $Id: VerifierMojo.java 312877 2005-10-11 13:35:24Z brett $

Author: Vincent Massol

UNKNOWN: verify integration-test

Method Summary
voidexecute()
protected FilegetAbsoluteFileToCheck(File file)
voidsetBaseDir(File basedir)
voidsetFailOnError(boolean failOnError)
voidsetVerificationFile(File file)
voidsetVerificationResultPrinter(VerificationResultPrinter printer)

Method Detail

execute

public void execute()

getAbsoluteFileToCheck

protected File getAbsoluteFileToCheck(File file)

Parameters: file the file path of the file to check (can be relative or absolute). If relative the project's basedir will be prefixed.

Returns: the absolute file path of the file to check

setBaseDir

public void setBaseDir(File basedir)

setFailOnError

public void setFailOnError(boolean failOnError)

setVerificationFile

public void setVerificationFile(File file)

setVerificationResultPrinter

public void setVerificationResultPrinter(VerificationResultPrinter printer)
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.