From b13e599f6af8ef98f8640661e525f6f46927d746 Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Thu, 30 May 2024 16:05:28 +0200 Subject: [PATCH] Fix typo in validation message --- .../impl/model/DefaultDependencyManagementImporter.java | 2 +- .../model/composition/DefaultDependencyManagementImporter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 975c8e7b9a78..25258ff1b201 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 Model importManagement( 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 613e8e160561..9a102987c7e3 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 Model importManagement( 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.")); } }