maven-embedder (2.0.4-3) 01_build_fix.diff

Summary

 src/main/java/org/apache/maven/embedder/MavenEmbedder.java |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Index: maven-embedder-2.0.4/src/main/java/org/apache/maven/embedder/MavenEmbedder.java
===================================================================
--- maven-embedder-2.0.4.orig/src/main/java/org/apache/maven/embedder/MavenEmbedder.java	2010-02-02 23:09:04.000000000 +0530
+++ maven-embedder-2.0.4/src/main/java/org/apache/maven/embedder/MavenEmbedder.java	2010-02-02 23:29:22.000000000 +0530
@@ -45,6 +45,7 @@
 import org.apache.maven.project.DuplicateProjectException;
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.project.MavenProjectBuilder;
+import org.apache.maven.project.MissingProjectException;
 import org.apache.maven.project.ProjectBuildingException;
 import org.apache.maven.settings.MavenSettingsBuilder;
 import org.apache.maven.settings.RuntimeInfo;
@@ -377,7 +378,7 @@
                          TransferListener transferListener,
                          Properties properties,
                          File executionRootDirectory )
-        throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
+        throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException, MissingProjectException
     {
         execute( Collections.singletonList( project ), goals, eventMonitor, transferListener, properties, executionRootDirectory );
     }
@@ -388,7 +389,7 @@
                          TransferListener transferListener,
                          Properties properties,
                          File executionRootDirectory )
-        throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
+        throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException, MissingProjectException
     {
         ReactorManager rm = new ReactorManager( projects );