From 5a3334c3e0765241fb912204ab7cd31d12b406b6 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Tue, 1 Sep 2009 17:20:32 +0000 Subject: [PATCH] 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 --- .../main/java/org/apache/maven/execution/MavenSession.java | 6 ++++++ .../execution/DefaultMavenExecutionRequestPopulator.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java index f601ce78b2..fe98079709 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java +++ b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java @@ -195,6 +195,12 @@ public class MavenSession return projects; } + @Deprecated + public List getSortedProjects() + { + return getProjects(); + } + public String getExecutionRootDirectory() { return request.getBaseDirectory(); diff --git a/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java b/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java index f91bac4d81..2ef60e5883 100644 --- a/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java +++ b/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java @@ -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