CAMEL-10141: make camel-soap unit tests pass on Java 9

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/60036eaa
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/60036eaa
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/60036eaa

Branch: refs/heads/master
Commit: 60036eaa1a1a9025a5cba529bea293f1e323a775
Parents: 1835ad5
Author: jpoth <poth.j...@gmail.com>
Authored: Wed Mar 15 12:20:57 2017 +0100
Committer: jpoth <poth.j...@gmail.com>
Committed: Wed Mar 15 15:30:07 2017 +0100

----------------------------------------------------------------------
 components/camel-soap/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/60036eaa/components/camel-soap/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index 89bc3b1..3111b94 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -290,6 +290,14 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <argLine>--add-modules java.xml.bind,java.xml.ws 
--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+                            
<!--https://issues.apache.org/jira/browse/SUREFIRE-1265 -->
+                            <reuseForks>true</reuseForks>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

Reply via email to