org.apache.maven.verifier
Class DependencyVerifier

java.lang.Object
  extended byorg.apache.maven.AbstractMavenComponent
      extended byorg.apache.maven.verifier.DependencyVerifier

public class DependencyVerifier
extends AbstractMavenComponent

Make sure that everything that is required for the project to build successfully is present. We will start by looking at the dependencies and make sure they are all here before trying to compile.

Version:
$Id: DependencyVerifier.java,v 1.34.4.9 2004/07/06 12:45:48 brett Exp $
Author:
Jason van Zyl, Vincent Massol

Constructor Summary
DependencyVerifier(Project project)
          Default ctor.
 
Method Summary
 boolean isIgnoreErrors()
           
 void setIgnoreErrors(boolean ignoreErrors)
          Sets the ignoreErrors flag.
 void verify()
          Execute the verification process.
 
Methods inherited from class org.apache.maven.AbstractMavenComponent
getMessage, getMessage, getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyVerifier

public DependencyVerifier(Project project)
Default ctor.

Parameters:
project - the project to verify
Method Detail

verify

public void verify()
            throws RepoConfigException,
                   UnsatisfiedDependencyException,
                   ChecksumVerificationException
Execute the verification process.

Throws:
RepoConfigException - If an error occurs while verifying basic maven settings.
UnsatisfiedDependencyException - If there are unsatisfied dependencies.
ChecksumVerificationException - if the download checksum doesn't match the calculated

isIgnoreErrors

public boolean isIgnoreErrors()
Returns:
true if the ignore errors flag is set.

setIgnoreErrors

public void setIgnoreErrors(boolean ignoreErrors)
Sets the ignoreErrors flag.

Parameters:
ignoreErrors - The ignoreErrors to set


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.