mirror of https://github.com/apache/maven.git
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d56ce5c344
commit
326a583281
|
@ -32,6 +32,7 @@ import org.apache.maven.profiles.DefaultProfileManager;
|
||||||
import org.apache.maven.project.MavenProject;
|
import org.apache.maven.project.MavenProject;
|
||||||
import org.apache.maven.project.MavenProjectBuilder;
|
import org.apache.maven.project.MavenProjectBuilder;
|
||||||
import org.apache.maven.project.ProjectBuildingException;
|
import org.apache.maven.project.ProjectBuildingException;
|
||||||
|
import org.apache.maven.project.DuplicateProjectException;
|
||||||
import org.apache.maven.settings.MavenSettingsBuilder;
|
import org.apache.maven.settings.MavenSettingsBuilder;
|
||||||
import org.apache.maven.settings.Settings;
|
import org.apache.maven.settings.Settings;
|
||||||
import org.apache.maven.settings.RuntimeInfo;
|
import org.apache.maven.settings.RuntimeInfo;
|
||||||
|
@ -380,7 +381,7 @@ public class MavenEmbedder
|
||||||
TransferListener transferListener,
|
TransferListener transferListener,
|
||||||
Properties properties,
|
Properties properties,
|
||||||
File executionRootDirectory )
|
File executionRootDirectory )
|
||||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException
|
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
|
||||||
{
|
{
|
||||||
execute( Collections.singletonList( project ), goals, eventMonitor, transferListener, properties, executionRootDirectory );
|
execute( Collections.singletonList( project ), goals, eventMonitor, transferListener, properties, executionRootDirectory );
|
||||||
}
|
}
|
||||||
|
@ -391,7 +392,7 @@ public class MavenEmbedder
|
||||||
TransferListener transferListener,
|
TransferListener transferListener,
|
||||||
Properties properties,
|
Properties properties,
|
||||||
File executionRootDirectory )
|
File executionRootDirectory )
|
||||||
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException
|
throws CycleDetectedException, LifecycleExecutionException, BuildFailureException, DuplicateProjectException
|
||||||
{
|
{
|
||||||
ReactorManager rm = new ReactorManager( projects );
|
ReactorManager rm = new ReactorManager( projects );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue