maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/java/org/apache/maven Maven.java
Date Tue, 10 Dec 2002 03:09:43 GMT
jvanzyl     2002/12/09 19:09:43

  Modified:    src/java/org/apache/maven Maven.java
  Log:
  o throwing meaningful exceptions when verifying.
  
  Revision  Changes    Path
  1.11      +6 -3      jakarta-turbine-maven/src/java/org/apache/maven/Maven.java
  
  Index: Maven.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/Maven.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Maven.java	8 Dec 2002 20:32:39 -0000	1.10
  +++ Maven.java	10 Dec 2002 03:09:43 -0000	1.11
  @@ -68,6 +68,8 @@
   import org.apache.maven.jelly.JellyUtils;
   import org.apache.maven.plugin.PluginManager;
   import org.apache.maven.verifier.DependencyVerifier;
  +import org.apache.maven.verifier.RepoConfigException;
  +import org.apache.maven.verifier.UnsatisfiedDependencyException;
   import org.apache.tools.ant.DemuxOutputStream;
   
   import java.io.File;
  @@ -367,10 +369,11 @@
        * Verify a project. Basically make sure the dependencies are
        * present and do a basic sanity check.
        *
  -     * @throws Exception If an error occurs while verifying the project.
  +     * @throws RepoConfigException If an error occurs verifying maven's basic settings.
  +     * @throws UnsatisfiedDependencyException If there are any unsatisfied dependencies.
        */
       public void verifyProject()
  -        throws Exception
  +        throws RepoConfigException, UnsatisfiedDependencyException
       {
           getContext().getProjectVerifier().verify();
       }
  
  
  

Mime
View raw message