this.getLog().info("Reactor build order:");
}
for (final Iterator iterator = reactorManager.getSortedProjects().iterator();
iterator.hasNext();)
{
final MavenProject project = (MavenProject)iterator.next();
this.getLog().info(" " + project.getName());
}
final MavenSession projectSession =
new MavenSession(
this.session.getContainer(),
this.session.getSettings(),
this.session.getLocalRepository(),
this.session.getEventDispatcher(),
reactorManager,
goals,
this.baseDirectory.toString(),
this.session.getExecutionProperties(),
this.session.getStartTime());
projectSession.setUsingPOMsFromFilesystem(true);
this.lifecycleExecutor.execute(
projectSession,
reactorManager,
projectSession.getEventDispatcher());
}
else
{
for (final Iterator iterator = this.session.getGoals().iterator(); iterator.hasNext();)
{
final String goal = (String)iterator.next();
final ReactorManager reactorManager = new ReactorManager(projects);
if (projects.size() > 1)
{
this.getLog().info("Reactor build order:");
}
for (final Iterator projectIterator = reactorManager.getSortedProjects().iterator();
projectIterator.hasNext();)
{
final MavenProject project = (MavenProject)projectIterator.next();
this.getLog().info(" " + project.getName());
}
final MavenSession projectSession =
new MavenSession(
this.session.getContainer(),