mirror of
https://github.com/apache/maven.git
synced 2025-02-23 02:15:50 +00:00
o updating to use the DuplicateProjectException introduced post
2.0. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e9b4b26ef
commit
9cacd22ae5
@ -32,6 +32,7 @@
|
||||
import org.apache.maven.project.MavenProject;
|
||||
import org.apache.maven.project.MavenProjectBuilder;
|
||||
import org.apache.maven.project.ProjectBuildingException;
|
||||
import org.apache.maven.project.DuplicateProjectException;
|
||||
import org.apache.maven.settings.MavenSettingsBuilder;
|
||||
import org.apache.maven.settings.Settings;
|
||||
import org.apache.maven.settings.RuntimeInfo;
|
||||
@ -380,7 +381,7 @@ public void execute( MavenProject project,
|
||||
TransferListener transferListener,
|
||||
Properties properties,
|
||||
File executionRootDirectory )
|
||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException
|
||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
|
||||
{
|
||||
execute( Collections.singletonList( project ), goals, eventMonitor, transferListener, properties, executionRootDirectory );
|
||||
}
|
||||
@ -391,7 +392,7 @@ public void execute( List projects,
|
||||
TransferListener transferListener,
|
||||
Properties properties,
|
||||
File executionRootDirectory )
|
||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException
|
||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
|
||||
{
|
||||
ReactorManager rm = new ReactorManager( projects );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user