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

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

commit 66126f9a73ab320268b4e49be41ada64d0c22c26
Author: Andriy Redko <[email protected]>
AuthorDate: Tue Jan 24 13:02:06 2023 -0500

    Fix msv-core dependency exclusions for JDK-8 and JDK-9+
    
    (cherry picked from commit e910371280fda20f82b1d13a1ed257ed79a9c751)
    
    # Conflicts:
    #       parent/pom.xml
---
 parent/pom.xml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 0672b8af11..7f65fb45ad 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1930,10 +1930,6 @@
                         <groupId>net.java.dev.msv</groupId>
                         <artifactId>msv-testharness</artifactId>
                     </exclusion>
-                    <exclusion>
-                        <groupId>xml-apis</groupId>
-                        <artifactId>xml-apis</artifactId>
-                    </exclusion>
                 </exclusions>
             </dependency>
             <dependency>
@@ -2414,6 +2410,25 @@
                     <scope>test</scope>
                 </dependency>
             </dependencies>
+            <dependencyManagement>
+                <dependencies>
+                    <dependency>
+                        <groupId>net.java.dev.msv</groupId>
+                        <artifactId>msv-core</artifactId>
+                        <version>${cxf.msv.version}</version>
+                        <exclusions>
+                            <exclusion>
+                                <groupId>net.java.dev.msv</groupId>
+                                <artifactId>msv-testharness</artifactId>
+                            </exclusion>
+                            <exclusion>
+                                <groupId>xml-apis</groupId>
+                                <artifactId>xml-apis</artifactId>
+                            </exclusion>
+                        </exclusions>
+                    </dependency>
+                </dependencies>
+            </dependencyManagement>
         </profile>
         <profile>
             <id>jdk13</id>

Reply via email to