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

ffang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new d5a3cb6  [CAMEL-16969]tests in camel-soap failed with JDK17
d5a3cb6 is described below

commit d5a3cb606d41024a021cdc03d1aa1c500fb0b8ec
Author: Freeman Fang <freeman.f...@gmail.com>
AuthorDate: Mon Sep 20 13:25:59 2021 -0400

    [CAMEL-16969]tests in camel-soap failed with JDK17
---
 components/camel-soap/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index 14399bb..3607bfa 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -270,5 +270,21 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>jdk17-build</id>
+            <activation>
+                <jdk>[17,)</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <argLine>--add-opens 
java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED --add-opens 
java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-opens 
java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED</argLine>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>

Reply via email to