o Restored backward-compat with 2.x

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810131 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-09-01 17:20:32 +00:00
parent 7ef7751684
commit 5a3334c3e0
2 changed files with 7 additions and 1 deletions

View File

@ -195,6 +195,12 @@ public class MavenSession
return projects;
}
@Deprecated
public List<MavenProject> getSortedProjects()
{
return getProjects();
}
public String getExecutionRootDirectory()
{
return request.getBaseDirectory();

View File

@ -272,7 +272,7 @@ public class DefaultMavenExecutionRequestPopulator
// ------------------------------------------------------------------------
// Settings
//
// If a settings instance has been provided in the request the we use
// If a settings instance has been provided in the request then we use
// that for execution, otherwise we will look in the embedder configuration
// for a user/global settings file to use. The settings file should have
// been validated upfront but we will still catch any parsing exception