From 5e0613e9969c9693a5cef74a03bfdeabba74e6d5 Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Fri, 19 May 2023 20:33:57 +0200 Subject: [PATCH] [MNG-7788] Fix for IT MavenITmng6562WarnDefaultBindings (#261) The MavenITmng6562WarnDefaultBindings IT tests new Maven4 feature "fail on severity" (for WARN level). The stub core plugin maven-resources-plugin depends on maven-compat, and it emits plugin validation warning. BEFORE MNG-7788 was merged, the warnings were logged AFTER build summary and was not picked up by "fail on severity". AFTER MNG-7788 merged, it causes that warnings breaks the build, as "fail on severity" is set to WARN level. Fix: The stub maven-resources-plugin does NOT need to depend on maven-compat, what it really needs is maven-core (for MavenProject). --- .../maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml index 06cdea155a..7e57001cd0 100644 --- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml +++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml @@ -57,7 +57,7 @@ under the License. org.apache.maven - maven-compat + maven-core provided