diff --git a/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java b/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java index 975c8e7b9a..25258ff1b2 100644 --- a/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java +++ b/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java @@ -78,7 +78,7 @@ public class DefaultDependencyManagementImporter implements DependencyManagement Severity.WARNING, Version.V40, "Ignored POM import for: " + toString(dependency) + " as already imported " - + toString(present) + ". Add a the conflicting managed dependency directly " + + toString(present) + ". Add the conflicting managed dependency directly " + "to the dependencyManagement section of the POM."); } } diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java index 613e8e1605..9a102987c7 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java @@ -70,7 +70,7 @@ public class DefaultDependencyManagementImporter implements DependencyManagement problems.add(new ModelProblemCollectorRequest( ModelProblem.Severity.WARNING, ModelProblem.Version.V40) .setMessage("Ignored POM import for: " + toString(dependency) + " as already imported " - + toString(present) + ". Add a the conflicting managed dependency directly " + + toString(present) + ". Add the conflicting managed dependency directly " + "to the dependencyManagement section of the POM.")); } }