This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch MNG-7788
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit ef12662785b80ab58150b60507021104460d8f1c
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Fri May 19 19:57:02 2023 +0200

    [MNG-7788] Fix for IT MavenITmng6562WarnDefaultBindings
    
    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/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml
 
b/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml
index 06cdea155..7e57001cd 100644
--- 
a/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml
+++ 
b/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-resources-plugin/pom.xml
@@ -57,7 +57,7 @@ under the License.
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
-      <artifactId>maven-compat</artifactId>
+      <artifactId>maven-core</artifactId>
       <scope>provided</scope>
     </dependency>
   </dependencies>

Reply via email to