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