diff --git a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java index 6a2a93b78c..8b86b19c0f 100644 --- a/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java +++ b/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/DisplayDependencyUpdatesMojo.java @@ -484,7 +484,7 @@ protected void validateInput() throws MojoExecutionException { validateGAVList(dependencyIncludes, 6, "dependencyIncludes"); validateGAVList(dependencyExcludes, 6, "dependencyExcludes"); validateGAVList(dependencyManagementIncludes, 6, "dependencyManagementIncludes"); - validateGAVList(dependencyManagementIncludes, 6, "dependencyManagementExcludes"); + validateGAVList(dependencyManagementExcludes, 6, "dependencyManagementExcludes"); validateGAVList(pluginDependencyIncludes, 3, "pluginDependencyIncludes"); validateGAVList(pluginDependencyExcludes, 3, "pluginDependencyExcludes"); validateGAVList(pluginManagementDependencyIncludes, 3, "pluginManagementDependencyIncludes");