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.

Author:
Jason van Zyl, Vincent Massol
To Do:
Separate out the local settings verifier because this only needs to be run once a session, but is currently being run during project verification so this is a big waste in the reactor for example.

Constructor Summary
DependencyVerifier(Project project)
          Default ctor.
 
Method Summary
 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


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