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

reta pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 88317d28fae6ee167e33f9ec4563d7229d27af1a
Author: Andriy Redko <drr...@gmail.com>
AuthorDate: Wed Apr 19 09:31:03 2023 -0400

    Fix Apache Maven warning that some plugin dependencies are in wrong scope
    
    (cherry picked from commit f336f9ba21884e5ff94cce40d4bebf9c71e11ed8)
---
 maven-plugins/java2swagger-plugin/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/maven-plugins/java2swagger-plugin/pom.xml 
b/maven-plugins/java2swagger-plugin/pom.xml
index 86afe0d89a..1e8cca3985 100644
--- a/maven-plugins/java2swagger-plugin/pom.xml
+++ b/maven-plugins/java2swagger-plugin/pom.xml
@@ -62,6 +62,7 @@
         <dependency>
             <groupId>org.apache.maven</groupId>
             <artifactId>maven-compat</artifactId>
+            <scope>provided</scope>
             <exclusions>
                 <exclusion>
                     <groupId>org.sonatype.sisu</groupId>
@@ -115,6 +116,10 @@
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-javadoc-plugin</artifactId>
             <exclusions>
+                <exclusion>
+                    <groupId>org.apache.maven</groupId>
+                    <artifactId>maven-model</artifactId>
+                </exclusion>
                 <exclusion>
                     <groupId>org.apache.maven</groupId>
                     <artifactId>maven-project</artifactId>

Reply via email to